Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 192 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3634/0.3634, allocations: 38 MB / 307.8 MB, free: 10.01 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 75.22 kB / 375.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1322, allocations: 56.46 MB / 431.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006337/0.1386, allocations: 4.54 MB / 436.2 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004603/0.1433, allocations: 4.01 MB / 440.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.1434, allocations: 3.938 kB / 440.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.1439, allocations: 51.66 kB / 440.3 MB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.1462, allocations: 0.7265 MB / 441 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1465, allocations: 139.8 kB / 441.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000523/0.1471, allocations: 378.1 kB / 441.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.338e-05/0.1472, allocations: 13.67 kB / 441.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.1473, allocations: 139.5 kB / 441.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.1476, allocations: 143.5 kB / 441.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.1476, allocations: 8 kB / 441.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009419/0.1486, allocations: 431.5 kB / 442.3 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/0.1487, allocations: 51.75 kB / 442.3 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1488, allocations: 103.5 kB / 442.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007021/0.1495, allocations: 471.1 kB / 442.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1495, allocations: 4 kB / 442.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1495, allocations: 0 / 442.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1495, allocations: 0 / 442.9 MB, free: 11.42 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001159/0.1507, allocations: 0.6009 MB / 443.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1508, allocations: 11.89 kB / 443.5 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.1509, allocations: 24.75 kB / 443.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1512, allocations: 228 kB / 443.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.1513, allocations: 123.9 kB / 443.9 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.1514, allocations: 28.38 kB / 443.9 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.1519, allocations: 327.6 kB / 444.2 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1519, allocations: 0 / 444.2 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.152, allocations: 12 kB / 444.2 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.152, allocations: 12 kB / 444.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007556/0.1528, allocations: 0.7429 MB / 445 MB, free: 9.184 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.1541, allocations: 1.304 MB / 446.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.1545, allocations: 167.8 kB / 446.4 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.1546, allocations: 97.34 kB / 446.5 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002339/0.157, allocations: 2.802 MB / 449.3 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.157, allocations: 34.5 kB / 449.4 MB, free: 4.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.157, allocations: 0 / 449.4 MB, free: 4.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003041/0.1573, allocations: 125.2 kB / 449.5 MB, free: 3.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1574, allocations: 55.41 kB / 449.5 MB, free: 3.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1576, allocations: 223.9 kB / 449.8 MB, free: 3.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1576, allocations: 25.7 kB / 449.8 MB, free: 3.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1577, allocations: 218.6 kB / 450 MB, free: 3.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.1578, allocations: 43.39 kB / 450 MB, free: 3.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/0.1578, allocations: 81.94 kB / 450.1 MB, free: 3.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.158, allocations: 330.8 kB / 450.5 MB, free: 2.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/0.1581, allocations: 48.83 kB / 450.5 MB, free: 2.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.1583, allocations: 343.3 kB / 450.8 MB, free: 2.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.1587, allocations: 440.6 kB / 451.3 MB, free: 1.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1587, allocations: 11.88 kB / 451.3 MB, free: 1.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005222/0.1593, allocations: 385.4 kB / 451.7 MB, free: 1.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1593, allocations: 8 kB / 451.7 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.1593, allocations: 12 kB / 451.7 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.1594, allocations: 15.94 kB / 451.7 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.1596, allocations: 99.83 kB / 451.8 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/0.1596, allocations: 23.91 kB / 451.8 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.1598, allocations: 51.88 kB / 451.9 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.1599, allocations: 28 kB / 451.9 MB, free: 1.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.16, allocations: 161.5 kB / 452 MB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.1601, allocations: 19.81 kB / 452.1 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.1604, allocations: 140.5 kB / 452.2 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.1604, allocations: 7.922 kB / 452.2 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.1604, allocations: 3.984 kB / 452.2 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1604, allocations: 4 kB / 452.2 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.1608, allocations: 404.8 kB / 452.6 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1609, allocations: 8.094 kB / 452.6 MB, free: 428 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.1609, allocations: 8 kB / 452.6 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1609, allocations: 4 kB / 452.6 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1609, allocations: 0 / 452.6 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.1609, allocations: 7.938 kB / 452.6 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.161, allocations: 0 / 452.6 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.1611, allocations: 213.9 kB / 452.8 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.1612, allocations: 100.8 kB / 452.9 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.1612, allocations: 8.172 kB / 453 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.1614, allocations: 0 / 453 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.1614, allocations: 15.92 kB / 453 MB, free: 24 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1614, allocations: 4 kB / 453 MB, free: 20 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2779/0.4393, allocations: 154.9 kB / 453.1 MB, free: 54.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.4394, allocations: 0.7812 kB / 453.1 MB, free: 54.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008495/0.4403, allocations: 91.08 kB / 453.2 MB, free: 54.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004406/0.4407, allocations: 155.4 kB / 453.4 MB, free: 53.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.4411, allocations: 173.7 kB / 453.5 MB, free: 53.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4411, allocations: 1.188 kB / 453.5 MB, free: 53.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.776e-05/0.4411, allocations: 23.64 kB / 453.6 MB, free: 53.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.4417, allocations: 51.34 kB / 453.6 MB, free: 53.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.4427, allocations: 0.5407 MB / 454.2 MB, free: 53.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.4429, allocations: 0.7231 MB / 454.9 MB, free: 53.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.4432, allocations: 55.86 kB / 454.9 MB, free: 53.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.4432, allocations: 24.97 kB / 455 MB, free: 53.08 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4432, allocations: 0 / 455 MB, free: 53.08 MB / 382.1 MB Notification: Performance of Templates: time 0.007244/0.4505, allocations: 3.091 MB / 458 MB, free: 52.84 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1)