Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005642/0.005642, allocations: 99.94 kB / 15.73 MB, free: 6.008 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.001172/0.001172, allocations: 198.9 kB / 16.68 MB, free: 5.93 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.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 54.12 kB / 326.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1029, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01605/0.119, allocations: 15.84 MB / 389.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.1216, allocations: 1.912 MB / 391 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.1219, allocations: 4 kB / 391 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006971/0.1226, allocations: 166.9 kB / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005651/0.1232, allocations: 322.2 kB / 391.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.1239, allocations: 275.5 kB / 391.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007686/0.1246, allocations: 0.8485 MB / 392.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.1248, allocations: 100.5 kB / 392.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009229/0.1258, allocations: 0.5175 MB / 393.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.1262, allocations: 278.9 kB / 393.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.1262, allocations: 28 kB / 393.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1263, allocations: 40 kB / 393.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1265, allocations: 87.72 kB / 393.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.1267, allocations: 179.2 kB / 393.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.1271, allocations: 442.6 kB / 394.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1272, allocations: 0 / 394.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1272, allocations: 0 / 394.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.1272, allocations: 0 / 394.2 MB, free: 12.2 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009528/0.1281, allocations: 0.5849 MB / 394.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1282, allocations: 12.03 kB / 394.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.1285, allocations: 40.56 kB / 394.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.129, allocations: 287.7 kB / 395.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.129, allocations: 16.94 kB / 395.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.129, allocations: 24.38 kB / 395.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.1295, allocations: 311.8 kB / 395.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1295, allocations: 0 / 395.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.1296, allocations: 12 kB / 395.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1296, allocations: 8 kB / 395.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.1299, allocations: 189.6 kB / 395.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.1315, allocations: 1.44 MB / 397.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.1319, allocations: 178.6 kB / 397.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.132, allocations: 92.83 kB / 397.4 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.1321, allocations: 7.984 kB / 397.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1321, allocations: 30.56 kB / 397.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.1321, allocations: 4 kB / 397.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002503/0.1346, allocations: 0.9998 MB / 398.4 MB, free: 7.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.1347, allocations: 55.41 kB / 398.5 MB, free: 7.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.135, allocations: 258.5 kB / 398.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.135, allocations: 29.7 kB / 398.8 MB, free: 7.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1351, allocations: 176.2 kB / 398.9 MB, free: 7.117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.1352, allocations: 98.58 kB / 399 MB, free: 7.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1353, allocations: 65.69 kB / 399.1 MB, free: 6.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1355, allocations: 338.8 kB / 399.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1356, allocations: 87.97 kB / 399.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.1358, allocations: 174.9 kB / 399.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.1362, allocations: 287 kB / 400 MB, free: 5.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1362, allocations: 0 / 400 MB, free: 5.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006483/0.1369, allocations: 394.5 kB / 400.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1369, allocations: 8 kB / 400.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1369, allocations: 0 / 400.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.1372, allocations: 61.67 kB / 400.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.1375, allocations: 72.22 kB / 400.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.1397, allocations: 2.878 MB / 403.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.14, allocations: 15.94 kB / 403.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.14, allocations: 12 kB / 403.4 MB, free: 2.266 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.1402, allocations: 153.7 kB / 403.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.1402, allocations: 27.77 kB / 403.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.945e-05/0.1403, allocations: 42.22 kB / 403.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1403, allocations: 4 kB / 403.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1403, allocations: 0 / 403.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006186/0.1409, allocations: 0.5668 MB / 404.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.142, allocations: 0.6997 MB / 404.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.142, allocations: 4 kB / 404.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.1422, allocations: 47.95 kB / 404.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/0.1424, allocations: 52.78 kB / 405 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.1425, allocations: 8 kB / 405 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.1436, allocations: 1.484 MB / 406.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1436, allocations: 0 / 406.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.1443, allocations: 477.6 kB / 406.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.1444, allocations: 104.8 kB / 407 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.1444, allocations: 7.984 kB / 407.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.1446, allocations: 8 kB / 407.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.1447, allocations: 12.12 kB / 407.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.1447, allocations: 20.05 kB / 407.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.1449, allocations: 185.8 kB / 407.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1449, allocations: 0 / 407.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004103/0.1453, allocations: 92 kB / 407.4 MB, free: 13.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001468/0.1455, allocations: 111.2 kB / 407.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008444/0.1463, allocations: 469.8 kB / 407.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.1463, allocations: 0 / 407.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.1467, allocations: 238.5 kB / 408.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008171/0.1476, allocations: 165.7 kB / 408.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.1488, allocations: 0.686 MB / 409 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1491, allocations: 0.7606 MB / 409.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002331/0.1494, allocations: 54.89 kB / 409.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.1495, allocations: 35.36 kB / 409.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1495, allocations: 0 / 409.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Templates: time 0.01128/0.1607, allocations: 5.732 MB / 415.6 MB, free: 5.605 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)