Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001196/0.001196, allocations: 100 kB / 15.05 MB, free: 1.105 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.001459/0.001459, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2907/0.2907, allocations: 39.99 MB / 310.4 MB, free: 10.04 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.2. 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.0005262/0.0005262, allocations: 12 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 57.95 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.003893/0.1165, allocations: 3.47 MB / 440.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.1202, allocations: 3.469 MB / 443.7 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1203, allocations: 4 kB / 443.7 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.1206, allocations: 43.72 kB / 443.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.1218, allocations: 0.592 MB / 444.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.1222, allocations: 127.8 kB / 444.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.1226, allocations: 251.5 kB / 444.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.1226, allocations: 17.66 kB / 444.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1228, allocations: 135.5 kB / 444.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.123, allocations: 127.6 kB / 445 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.123, allocations: 8 kB / 445 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007401/0.1238, allocations: 379.5 kB / 445.4 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.054e-05/0.1238, allocations: 47.8 kB / 445.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.1239, allocations: 61.64 kB / 445.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.1243, allocations: 299.6 kB / 445.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.1243, allocations: 0 / 445.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1244, allocations: 0 / 445.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1244, allocations: 0 / 445.8 MB, free: 9.527 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.0009983/0.1254, allocations: 0.55 MB / 446.3 MB, free: 8.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1254, allocations: 8.031 kB / 446.3 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.1255, allocations: 31.7 kB / 446.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1258, allocations: 218.8 kB / 446.6 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.126, allocations: 127.4 kB / 446.7 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.126, allocations: 27.98 kB / 446.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.1265, allocations: 327.6 kB / 447 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1265, allocations: 0 / 447 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.1266, allocations: 12 kB / 447 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.1266, allocations: 8 kB / 447 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007753/0.1274, allocations: 0.7352 MB / 447.8 MB, free: 7.359 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.001369/0.1288, allocations: 1.362 MB / 449.1 MB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.1291, allocations: 159.7 kB / 449.3 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002456/0.1316, allocations: 2.864 MB / 452.2 MB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.1316, allocations: 46.5 kB / 452.2 MB, free: 2.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.1316, allocations: 0 / 452.2 MB, free: 2.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003308/0.132, allocations: 129.5 kB / 452.3 MB, free: 2.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.132, allocations: 55.41 kB / 452.4 MB, free: 2.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1322, allocations: 210.9 kB / 452.6 MB, free: 1.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.1322, allocations: 25.7 kB / 452.6 MB, free: 1.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1324, allocations: 202.9 kB / 452.8 MB, free: 1.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.1324, allocations: 63.25 kB / 452.9 MB, free: 1.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.1324, allocations: 4 kB / 452.9 MB, free: 1.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1326, allocations: 330.8 kB / 453.2 MB, free: 1.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.1327, allocations: 44.84 kB / 453.3 MB, free: 1.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.133, allocations: 326 kB / 453.6 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.1331, allocations: 95.84 kB / 453.7 MB, free: 0.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1331, allocations: 4 kB / 453.7 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005248/0.1337, allocations: 377.3 kB / 454 MB, free: 252 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1337, allocations: 8 kB / 454 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.1337, allocations: 15.94 kB / 454.1 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.1337, allocations: 12 kB / 454.1 MB, free: 216 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.134, allocations: 95.83 kB / 454.2 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.822e-05/0.134, allocations: 23.86 kB / 454.2 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.1343, allocations: 59.83 kB / 454.2 MB, free: 36 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.1343, allocations: 35.97 kB / 454.3 MB, free: 0 / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2008/0.3351, allocations: 140.7 kB / 454.4 MB, free: 48.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.3352, allocations: 19.12 kB / 454.4 MB, free: 48.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.3356, allocations: 181.3 kB / 454.6 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.3356, allocations: 3.469 kB / 454.6 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3356, allocations: 0 / 454.6 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3356, allocations: 3.844 kB / 454.6 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.3361, allocations: 444.2 kB / 455.1 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3361, allocations: 2.781 kB / 455.1 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.049e-05/0.3362, allocations: 22.72 kB / 455.1 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3362, allocations: 3.125 kB / 455.1 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3362, allocations: 2.625 kB / 455.1 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.185e-06/0.3362, allocations: 4.125 kB / 455.1 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3362, allocations: 2.625 kB / 455.1 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.3364, allocations: 273.5 kB / 455.4 MB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.3365, allocations: 122.4 kB / 455.5 MB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.3365, allocations: 1.531 kB / 455.5 MB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.3367, allocations: 8.688 kB / 455.5 MB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.3367, allocations: 16.64 kB / 455.5 MB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3368, allocations: 4.703 kB / 455.5 MB, free: 48.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.172e-05/0.3369, allocations: 152.6 kB / 455.7 MB, free: 48.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3369, allocations: 0 / 455.7 MB, free: 48.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005285/0.3374, allocations: 98.66 kB / 455.8 MB, free: 48.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 11 * Array equations: 1 * 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.000215/0.3376, allocations: 169 kB / 455.9 MB, free: 48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.3379, allocations: 174.5 kB / 456.1 MB, free: 47.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3379, allocations: 3.938 kB / 456.1 MB, free: 47.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.3379, allocations: 33.3 kB / 456.1 MB, free: 47.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3383, allocations: 49.44 kB / 456.2 MB, free: 47.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.3389, allocations: 0.5154 MB / 456.7 MB, free: 47.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.339, allocations: 0.7291 MB / 457.4 MB, free: 46.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002217/0.3392, allocations: 57.27 kB / 457.5 MB, free: 46.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.3393, allocations: 29.25 kB / 457.5 MB, free: 46.96 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3393, allocations: 3.25 kB / 457.5 MB, free: 46.96 MB / 382.1 MB Notification: Performance of Templates: time 0.00551/0.3448, allocations: 3.231 MB / 460.7 MB, free: 46.64 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) Environment - environmentSimulation: