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.008654/0.008654, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001317/0.001317, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.436/1.436, 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.001328/0.001328, allocations: 50.27 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1067, 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.01673/0.1235, allocations: 15.84 MB / 389.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.1261, allocations: 1.901 MB / 391 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.1264, allocations: 4 kB / 391 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.127, allocations: 170.9 kB / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005763/0.1275, allocations: 310.2 kB / 391.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007427/0.1283, allocations: 291.3 kB / 391.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008353/0.1291, allocations: 0.8369 MB / 392.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.1293, allocations: 108.5 kB / 392.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009139/0.1303, allocations: 0.5058 MB / 393.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.1306, allocations: 274.9 kB / 393.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.1307, allocations: 28 kB / 393.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1308, allocations: 40 kB / 393.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1309, allocations: 95.7 kB / 393.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.1311, allocations: 183.2 kB / 393.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.1316, allocations: 438.6 kB / 394.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1316, allocations: 0 / 394.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1317, allocations: 0 / 394.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1317, allocations: 0 / 394.2 MB, free: 12.22 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.001033/0.1327, allocations: 0.581 MB / 394.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1328, allocations: 11.89 kB / 394.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.133, allocations: 48.55 kB / 394.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.1335, allocations: 291.7 kB / 395.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.1335, allocations: 16.94 kB / 395.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.1336, allocations: 32.36 kB / 395.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.1341, allocations: 303.8 kB / 395.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.1341, allocations: 4 kB / 395.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.1341, allocations: 12 kB / 395.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1342, allocations: 8 kB / 395.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.1345, allocations: 201.5 kB / 395.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.1362, allocations: 1.424 MB / 397.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.1365, allocations: 182.6 kB / 397.3 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.1367, allocations: 88.83 kB / 397.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1367, allocations: 4 kB / 397.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1367, allocations: 34.56 kB / 397.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.1367, allocations: 0 / 397.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002513/0.1393, allocations: 0.9998 MB / 398.4 MB, free: 7.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1393, allocations: 59.41 kB / 398.5 MB, free: 7.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.1396, allocations: 258.5 kB / 398.7 MB, free: 7.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.1396, allocations: 29.7 kB / 398.8 MB, free: 7.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.1397, allocations: 180.2 kB / 398.9 MB, free: 7.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.328e-05/0.1398, allocations: 94.64 kB / 399 MB, free: 7.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.1399, allocations: 61.64 kB / 399.1 MB, free: 6.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1401, allocations: 342.8 kB / 399.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.1402, allocations: 83.97 kB / 399.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.1405, allocations: 182.8 kB / 399.7 MB, free: 6.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.1408, allocations: 283 kB / 400 MB, free: 6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1408, allocations: 0 / 400 MB, free: 6 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006476/0.1415, allocations: 394.8 kB / 400.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1415, allocations: 8 kB / 400.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1415, allocations: 4 kB / 400.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/0.1418, allocations: 61.61 kB / 400.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.1421, allocations: 63.91 kB / 400.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.1444, allocations: 2.879 MB / 403.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.1446, allocations: 15.92 kB / 403.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.1447, allocations: 19.94 kB / 403.4 MB, free: 2.27 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.0001566/0.1448, allocations: 149.7 kB / 403.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.1449, allocations: 27.62 kB / 403.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.38e-05/0.145, allocations: 38.17 kB / 403.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.145, allocations: 0 / 403.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.145, allocations: 8.062 kB / 403.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000591/0.1456, allocations: 0.5629 MB / 404.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.1466, allocations: 0.6999 MB / 404.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1467, allocations: 0 / 404.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.1469, allocations: 43.91 kB / 404.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002355/0.1471, allocations: 56.81 kB / 405 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.1472, allocations: 8 kB / 405 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.1487, allocations: 1.496 MB / 406.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1487, allocations: 4.031 kB / 406.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.1494, allocations: 473.6 kB / 406.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/0.1495, allocations: 100.8 kB / 407 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.1496, allocations: 8 kB / 407 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.1498, allocations: 4 kB / 407.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.1498, allocations: 19.97 kB / 407.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.1499, allocations: 15.98 kB / 407.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.15, allocations: 190 kB / 407.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.15, allocations: 3.938 kB / 407.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004174/0.1505, allocations: 88 kB / 407.4 MB, free: 13.96 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.000148/0.1506, allocations: 107.2 kB / 407.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007739/0.1514, allocations: 477.9 kB / 407.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1514, allocations: 0 / 407.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.1518, allocations: 234.5 kB / 408.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008828/0.1527, allocations: 157.7 kB / 408.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.1539, allocations: 0.6897 MB / 409 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1543, allocations: 0.7606 MB / 409.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.1545, allocations: 50.95 kB / 409.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.214e-05/0.1546, allocations: 27.44 kB / 409.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1546, allocations: 0 / 409.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Templates: time 0.01018/0.1648, allocations: 5.732 MB / 415.6 MB, free: 5.625 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)