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.0008616/0.0008617, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00628/0.00628, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.554/1.554, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.3656/0.3656, allocations: 38.04 MB / 308.8 MB, free: 10.31 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.000606/0.000606, allocations: 16 kB / 377 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1378, allocations: 57.52 MB / 434.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00458/0.1425, allocations: 4.219 MB / 438.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003768/0.1463, allocations: 4.006 MB / 442.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.1464, allocations: 4 kB / 442.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.1466, allocations: 47.72 kB / 442.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.1481, allocations: 0.6608 MB / 443.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1485, allocations: 127.8 kB / 443.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005546/0.149, allocations: 442 kB / 444.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.219e-05/0.1491, allocations: 21.66 kB / 444.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.1493, allocations: 135.5 kB / 444.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.1495, allocations: 155.4 kB / 444.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.1495, allocations: 4 kB / 444.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008626/0.1504, allocations: 443.3 kB / 444.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.1505, allocations: 43.75 kB / 444.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1507, allocations: 133.2 kB / 445 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008392/0.1515, allocations: 471 kB / 445.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1515, allocations: 0 / 445.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1515, allocations: 0 / 445.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1515, allocations: 4 kB / 445.4 MB, free: 10.26 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.001108/0.1526, allocations: 0.554 MB / 446 MB, free: 9.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1527, allocations: 8.031 kB / 446 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.1529, allocations: 28.73 kB / 446 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.1531, allocations: 220 kB / 446.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.1533, allocations: 127.9 kB / 446.4 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-05/0.1534, allocations: 28.31 kB / 446.4 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004968/0.1539, allocations: 327.6 kB / 446.7 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1539, allocations: 3.938 kB / 446.7 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.1539, allocations: 12 kB / 446.7 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.154, allocations: 12 kB / 446.7 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007829/0.1548, allocations: 0.7352 MB / 447.5 MB, free: 8.082 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.001292/0.1561, allocations: 1.308 MB / 448.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.1564, allocations: 167.7 kB / 448.9 MB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1565, allocations: 93.36 kB / 449 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002474/0.159, allocations: 2.798 MB / 451.8 MB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1591, allocations: 34.56 kB / 451.9 MB, free: 3.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.1591, allocations: 3.938 kB / 451.9 MB, free: 3.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002741/0.1594, allocations: 117.4 kB / 452 MB, free: 2.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.1594, allocations: 51.41 kB / 452 MB, free: 2.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1596, allocations: 231.8 kB / 452.3 MB, free: 2.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1596, allocations: 25.7 kB / 452.3 MB, free: 2.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1598, allocations: 222.6 kB / 452.5 MB, free: 2.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.1598, allocations: 47.38 kB / 452.6 MB, free: 2.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.1599, allocations: 37.7 kB / 452.6 MB, free: 2.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.16, allocations: 322.8 kB / 452.9 MB, free: 1.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.1601, allocations: 52.83 kB / 453 MB, free: 1.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.1604, allocations: 343.3 kB / 453.3 MB, free: 1.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.1608, allocations: 448.5 kB / 453.7 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.1609, allocations: 4 kB / 453.7 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005609/0.1614, allocations: 385.5 kB / 454.1 MB, free: 432 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1615, allocations: 8 kB / 454.1 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.1615, allocations: 12 kB / 454.1 MB, free: 412 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.1615, allocations: 15.94 kB / 454.1 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.1617, allocations: 99.83 kB / 454.2 MB, free: 296 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.1618, allocations: 19.92 kB / 454.3 MB, free: 276 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.162, allocations: 55.44 kB / 454.3 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.1621, allocations: 32.3 kB / 454.4 MB, free: 188 kB / 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.0001228/0.1622, allocations: 157.5 kB / 454.5 MB, free: 20 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.1622, allocations: 19.8 kB / 454.5 MB, free: 0 / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2054/0.3677, allocations: 136.4 kB / 454.7 MB, free: 51.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.3677, allocations: 4.406 kB / 454.7 MB, free: 51.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3677, allocations: 4.969 kB / 454.7 MB, free: 51.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3678, allocations: 0.7031 kB / 454.7 MB, free: 51.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/0.3682, allocations: 409.4 kB / 455.1 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3682, allocations: 6.656 kB / 455.1 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.3683, allocations: 12.09 kB / 455.1 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3683, allocations: 3.844 kB / 455.1 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3683, allocations: 3.062 kB / 455.1 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3683, allocations: 3.344 kB / 455.1 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3684, allocations: 0 / 455.1 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.3685, allocations: 207.4 kB / 455.3 MB, free: 50.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.3686, allocations: 105.7 kB / 455.4 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.3686, allocations: 10.22 kB / 455.4 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.3688, allocations: 3.219 kB / 455.4 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.3688, allocations: 19.81 kB / 455.4 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3688, allocations: 2.969 kB / 455.4 MB, free: 50.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.5e-05/0.3689, allocations: 154.5 kB / 455.6 MB, free: 50.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3689, allocations: 0 / 455.6 MB, free: 50.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005598/0.3695, allocations: 87.95 kB / 455.7 MB, free: 50.47 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.0002665/0.3698, allocations: 168.1 kB / 455.8 MB, free: 50.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.37, allocations: 171.2 kB / 456 MB, free: 50.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.37, allocations: 0 / 456 MB, free: 50.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.284e-05/0.3701, allocations: 24.16 kB / 456 MB, free: 50.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.3705, allocations: 44.05 kB / 456.1 MB, free: 50.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/0.3713, allocations: 0.6488 MB / 456.7 MB, free: 50.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.3715, allocations: 0.7266 MB / 457.4 MB, free: 49.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002113/0.3717, allocations: 51.58 kB / 457.5 MB, free: 49.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.3718, allocations: 28.47 kB / 457.5 MB, free: 49.36 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3718, allocations: 0 / 457.5 MB, free: 49.36 MB / 382.1 MB Notification: Performance of Templates: time 0.005794/0.3776, allocations: 2.998 MB / 460.5 MB, free: 49.1 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: