Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0008043/0.0008044, allocations: 91.8 kB / 16.65 MB, free: 6.535 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.001473/0.001473, allocations: 174.7 kB / 17.56 MB, free: 6.184 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.464/1.464, allocations: 205.4 MB / 223.7 MB, free: 13.05 MB / 190.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.0004608/0.0004608, allocations: 12 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 47.59 MB / 328.3 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01562/0.1199, allocations: 15.44 MB / 343.8 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.1224, allocations: 1.893 MB / 345.7 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.1227, allocations: 7.938 kB / 345.7 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.1232, allocations: 147.2 kB / 345.8 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005824/0.1238, allocations: 298.5 kB / 346.1 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006327/0.1244, allocations: 259.6 kB / 346.4 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00122/0.1257, allocations: 1.297 MB / 347.7 MB, free: 348 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.1259, allocations: 80.61 kB / 347.7 MB, free: 264 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008257/0.1267, allocations: 454.2 kB / 348.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.1271, allocations: 278.8 kB / 348.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.1271, allocations: 16 kB / 348.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1272, allocations: 20 kB / 348.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1274, allocations: 87.7 kB / 348.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.1275, allocations: 181 kB / 348.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.1279, allocations: 414.8 kB / 349.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.128, allocations: 3.938 kB / 349.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.128, allocations: 0 / 349.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.128, allocations: 0 / 349.2 MB, free: 14.82 MB / 302.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.0008388/0.1288, allocations: 0.5264 MB / 349.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1289, allocations: 8.031 kB / 349.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.1291, allocations: 44.55 kB / 349.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.1295, allocations: 279.8 kB / 350 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.1295, allocations: 20.94 kB / 350 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.1296, allocations: 24.38 kB / 350.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.1301, allocations: 307.8 kB / 350.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1301, allocations: 0 / 350.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.1302, allocations: 12 kB / 350.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.1302, allocations: 8 kB / 350.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.1305, allocations: 197.5 kB / 350.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.1323, allocations: 1.44 MB / 352 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.1327, allocations: 178.6 kB / 352.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.1328, allocations: 92.77 kB / 352.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.1329, allocations: 4 kB / 352.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1329, allocations: 38.5 kB / 352.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 3.025e-06/0.1329, allocations: 4 kB / 352.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.00255/0.1355, allocations: 0.9999 MB / 353.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.1355, allocations: 51.41 kB / 353.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1358, allocations: 262.5 kB / 353.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1358, allocations: 33.7 kB / 353.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1359, allocations: 180.1 kB / 353.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.136, allocations: 94.66 kB / 353.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.1361, allocations: 33.7 kB / 354 MB, free: 9.656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1362, allocations: 338.8 kB / 354.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.1363, allocations: 87.75 kB / 354.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.1366, allocations: 182.8 kB / 354.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.1369, allocations: 287 kB / 354.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1369, allocations: 4 kB / 354.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006411/0.1376, allocations: 382.6 kB / 355.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1376, allocations: 7.984 kB / 355.2 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1376, allocations: 7.984 kB / 355.2 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.1379, allocations: 66.05 kB / 355.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.1382, allocations: 67.91 kB / 355.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.1404, allocations: 2.673 MB / 358 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.1407, allocations: 24.05 kB / 358.1 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.1407, allocations: 12 kB / 358.1 MB, free: 5.172 MB / 302.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.0001728/0.1409, allocations: 149.8 kB / 358.2 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.141, allocations: 27.66 kB / 358.2 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.246e-05/0.1411, allocations: 42.17 kB / 358.3 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1411, allocations: 4 kB / 358.3 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1411, allocations: 0 / 358.3 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006275/0.1417, allocations: 0.5669 MB / 358.9 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.1428, allocations: 0.7106 MB / 359.6 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1428, allocations: 0 / 359.6 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.143, allocations: 47.91 kB / 359.6 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.1433, allocations: 56.78 kB / 359.7 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.1433, allocations: 8 kB / 359.7 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.1444, allocations: 1.39 MB / 361.1 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1444, allocations: 4.062 kB / 361.1 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006635/0.1451, allocations: 477 kB / 361.5 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.1452, allocations: 104.8 kB / 361.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.1452, allocations: 4 kB / 361.6 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.1455, allocations: 27.84 kB / 361.7 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.1455, allocations: 15.97 kB / 361.7 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.1455, allocations: 8 kB / 361.7 MB, free: 1.211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.1457, allocations: 186 kB / 361.9 MB, free: 1.027 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1457, allocations: 0 / 361.9 MB, free: 1.027 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004508/0.1462, allocations: 92 kB / 362 MB, free: 0.9375 MB / 302.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.0001361/0.1463, allocations: 107.2 kB / 362.1 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007086/0.147, allocations: 465.3 kB / 362.5 MB, free: 352 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.147, allocations: 0.75 kB / 362.5 MB, free: 352 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.1474, allocations: 242.6 kB / 362.8 MB, free: 96 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.1485, allocations: 145.7 kB / 362.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1497, allocations: 0.8735 MB / 363.8 MB, free: 15.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.15, allocations: 0.7606 MB / 364.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.1503, allocations: 54.89 kB / 364.6 MB, free: 14.22 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.059e-05/0.1504, allocations: 27.44 kB / 364.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1504, allocations: 0 / 364.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of Templates: time 0.009818/0.1602, allocations: 5.432 MB / 370 MB, free: 8.762 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)