Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.005735/0.005735, allocations: 102.1 kB / 15.73 MB, free: 6.035 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.001283/0.001283, allocations: 199.4 kB / 16.68 MB, free: 5.957 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.407/1.407, allocations: 205.1 MB / 222.6 MB, free: 4.398 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.001276/0.001276, allocations: 50.86 kB / 326.6 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1043, allocations: 46.63 MB / 373.2 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.0169/0.1212, allocations: 15.85 MB / 389.1 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.1241, allocations: 1.908 MB / 391 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.1244, allocations: 4 kB / 391 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008079/0.1252, allocations: 171 kB / 391.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.1258, allocations: 310.2 kB / 391.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.1264, allocations: 287.4 kB / 391.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009875/0.1274, allocations: 0.8368 MB / 392.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.1277, allocations: 104.5 kB / 392.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.1289, allocations: 0.5136 MB / 393.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.1294, allocations: 270.9 kB / 393.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/0.1295, allocations: 28 kB / 393.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1296, allocations: 47.92 kB / 393.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1297, allocations: 83.8 kB / 393.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.13, allocations: 187.2 kB / 393.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005848/0.1306, allocations: 438.6 kB / 394.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.1306, allocations: 0 / 394.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1306, allocations: 0 / 394.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1306, allocations: 0 / 394.2 MB, free: 12.3 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.001086/0.1317, allocations: 0.5849 MB / 394.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1317, allocations: 11.89 kB / 394.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002951/0.132, allocations: 48.55 kB / 394.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.1325, allocations: 287.7 kB / 395.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.1326, allocations: 16.94 kB / 395.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.1326, allocations: 32.36 kB / 395.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.1331, allocations: 303.8 kB / 395.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.1331, allocations: 3.938 kB / 395.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.1331, allocations: 12 kB / 395.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1332, allocations: 4 kB / 395.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.1335, allocations: 201.6 kB / 395.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.1353, allocations: 1.432 MB / 397.1 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.1357, allocations: 174.5 kB / 397.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.1358, allocations: 92.92 kB / 397.4 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.1359, allocations: 0 / 397.4 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1359, allocations: 42.5 kB / 397.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.1359, allocations: 0 / 397.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.00252/0.1384, allocations: 0.9959 MB / 398.4 MB, free: 7.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1385, allocations: 55.34 kB / 398.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.1388, allocations: 258.5 kB / 398.7 MB, free: 7.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1388, allocations: 33.7 kB / 398.8 MB, free: 7.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.1389, allocations: 184.1 kB / 398.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/0.139, allocations: 90.66 kB / 399 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1391, allocations: 65.64 kB / 399.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1393, allocations: 334.8 kB / 399.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1394, allocations: 83.97 kB / 399.5 MB, free: 6.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.1396, allocations: 182.9 kB / 399.7 MB, free: 6.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.14, allocations: 283 kB / 400 MB, free: 6.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.14, allocations: 4 kB / 400 MB, free: 6.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006639/0.1407, allocations: 386.6 kB / 400.3 MB, free: 5.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1407, allocations: 8.359 kB / 400.3 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1407, allocations: 8 kB / 400.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/0.141, allocations: 61.67 kB / 400.4 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.1413, allocations: 71.84 kB / 400.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.1435, allocations: 2.867 MB / 403.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.1437, allocations: 15.97 kB / 403.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.1438, allocations: 12.06 kB / 403.4 MB, free: 2.371 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.0001563/0.1439, allocations: 165.6 kB / 403.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.144, allocations: 31.62 kB / 403.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.13e-05/0.1441, allocations: 30.19 kB / 403.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1441, allocations: 7.984 kB / 403.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1441, allocations: 0 / 403.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005753/0.1447, allocations: 0.5591 MB / 404.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.1457, allocations: 0.6997 MB / 404.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1457, allocations: 144 / 404.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.1459, allocations: 47.97 kB / 404.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000219/0.1461, allocations: 60.75 kB / 405 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.1462, allocations: 7.984 kB / 405 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.1473, allocations: 1.484 MB / 406.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1473, allocations: 0 / 406.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.148, allocations: 477.7 kB / 406.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.148, allocations: 100.8 kB / 407 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.1481, allocations: 11.94 kB / 407 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.1483, allocations: 8 kB / 407.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.1483, allocations: 15.97 kB / 407.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.1484, allocations: 12 kB / 407.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.1486, allocations: 189.9 kB / 407.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1486, allocations: 3.938 kB / 407.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.1489, allocations: 88 kB / 407.4 MB, free: 14.05 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.0001231/0.1491, allocations: 103.3 kB / 407.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000758/0.1498, allocations: 489.9 kB / 407.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1499, allocations: 0 / 407.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.1502, allocations: 234.5 kB / 408.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000914/0.1511, allocations: 165.7 kB / 408.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.1524, allocations: 0.6821 MB / 409 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.1527, allocations: 0.7606 MB / 409.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000216/0.1529, allocations: 54.94 kB / 409.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.153, allocations: 23.44 kB / 409.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.153, allocations: 0 / 409.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Templates: time 0.0103/0.1633, allocations: 5.829 MB / 415.7 MB, free: 5.617 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)