Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009379/0.0009379, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.508/1.508, allocations: 194.3 MB / 202.4 MB, free: 8.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001915/0.001915, allocations: 121.3 kB / 247.4 MB, free: 6.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1878/0.1878, allocations: 39.94 MB / 332.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.551e-05/1.551e-05, allocations: 4 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08638/0.08641, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4359, allocations: 78.78 MB / 0.5146 GB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.4361, allocations: 62.27 kB / 0.5147 GB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004549/0.4407, allocations: 1.771 MB / 0.5164 GB, free: 10.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4407, allocations: 1.75 kB / 0.5164 GB, free: 10.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4408, allocations: 3.844 kB / 0.5164 GB, free: 10.04 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002541/0.441, allocations: 357.7 kB / 0.5168 GB, free: 9.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4411, allocations: 11.5 kB / 0.5168 GB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.4411, allocations: 3.906 kB / 0.5168 GB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.4412, allocations: 170.8 kB / 0.5169 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.4412, allocations: 0 / 0.5169 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.4413, allocations: 3.875 kB / 0.5169 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.552e-05/0.4414, allocations: 25.97 kB / 0.517 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.292e-05/0.4415, allocations: 47.72 kB / 0.517 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4415, allocations: 0 / 0.517 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.4415, allocations: 0 / 0.517 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4415, allocations: 3.844 kB / 0.517 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.4417, allocations: 151.6 kB / 0.5172 GB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.4419, allocations: 52.45 kB / 0.5172 GB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/0.4419, allocations: 20.08 kB / 0.5172 GB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.4421, allocations: 111.2 kB / 0.5173 GB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.4422, allocations: 38.06 kB / 0.5174 GB, free: 9.098 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.4422, allocations: 0 / 0.5174 GB, free: 9.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.03734/0.4795, allocations: 2.092 MB / 0.5194 GB, free: 8.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.4796, allocations: 59.25 kB / 0.5195 GB, free: 8.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.4797, allocations: 95.84 kB / 0.5196 GB, free: 8.551 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.4797, allocations: 25.7 kB / 0.5196 GB, free: 8.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.034e-05/0.4797, allocations: 87.05 kB / 0.5197 GB, free: 8.438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.781e-05/0.4798, allocations: 64 kB / 0.5197 GB, free: 8.395 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.4798, allocations: 0 / 0.5197 GB, free: 8.395 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.4799, allocations: 317.1 kB / 0.52 GB, free: 8.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.48, allocations: 143.5 kB / 0.5202 GB, free: 8.078 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.4802, allocations: 132.8 kB / 0.5203 GB, free: 8.078 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.4806, allocations: 198.2 kB / 0.5205 GB, free: 8.078 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4806, allocations: 0 / 0.5205 GB, free: 8.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006846/0.4813, allocations: 412.3 kB / 0.5209 GB, free: 8.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4814, allocations: 5.688 kB / 0.5209 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4814, allocations: 0 / 0.5209 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4814, allocations: 0 / 0.5209 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.4818, allocations: 91.02 kB / 0.521 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4818, allocations: 0 / 0.521 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.482, allocations: 21.17 kB / 0.521 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.4821, allocations: 18.31 kB / 0.521 GB, free: 8.027 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/0.4821, allocations: 108.9 kB / 0.5211 GB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.4822, allocations: 7.781 kB / 0.5211 GB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009412/0.4831, allocations: 0.4888 MB / 0.5216 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4831, allocations: 2.812 kB / 0.5216 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4832, allocations: 0 / 0.5216 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4832, allocations: 0 / 0.5216 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.4849, allocations: 0.8571 MB / 0.5224 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.4849, allocations: 448 / 0.5224 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.4852, allocations: 85.5 kB / 0.5225 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.4852, allocations: 3.844 kB / 0.5225 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.4852, allocations: 15.52 kB / 0.5225 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.4852, allocations: 3.938 kB / 0.5225 GB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4852, allocations: 3.844 kB / 0.5225 GB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007219/0.486, allocations: 490 kB / 0.523 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.486, allocations: 84.86 kB / 0.5231 GB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.4861, allocations: 7.797 kB / 0.5231 GB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.4863, allocations: 27.34 kB / 0.5231 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.4863, allocations: 18.86 kB / 0.5231 GB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.4863, allocations: 11.53 kB / 0.5231 GB, free: 6.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.315e-05/0.4863, allocations: 86.17 kB / 0.5232 GB, free: 6.809 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4864, allocations: 0 / 0.5232 GB, free: 6.809 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009119/0.4873, allocations: 339 kB / 0.5236 GB, free: 6.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00116/0.4884, allocations: 261.6 kB / 0.5238 GB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004192/0.4889, allocations: 272.3 kB / 0.5241 GB, free: 6.566 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4889, allocations: 0 / 0.5241 GB, free: 6.566 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.489, allocations: 111.4 kB / 0.5242 GB, free: 6.555 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.4893, allocations: 3.938 kB / 0.5242 GB, free: 6.555 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009774/0.4903, allocations: 348.1 kB / 0.5245 GB, free: 6.375 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.4904, allocations: 0.696 MB / 0.5252 GB, free: 5.672 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003489/0.4908, allocations: 97.81 kB / 0.5253 GB, free: 5.629 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.491, allocations: 46.34 kB / 0.5253 GB, free: 5.613 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.491, allocations: 0 / 0.5253 GB, free: 5.613 MB / 346.7 MB Notification: Performance of Templates: time 0.01011/0.5011, allocations: 7.663 MB / 0.5328 GB, free: 0.7578 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1)