Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007984/0.0007982, allocations: 92.45 kB / 16.95 MB, free: 6.113 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.0008601/0.0008604, allocations: 180.9 kB / 17.84 MB, free: 5.73 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.578/1.578, allocations: 205.4 MB / 224 MB, free: 13.07 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.0007502/0.0007503, allocations: 16 kB / 280.9 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.108, allocations: 47.58 MB / 328.5 MB, free: 3.957 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.02853/0.1366, allocations: 22.52 MB / 351 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003576/0.1402, allocations: 2.337 MB / 353.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003844/0.1406, allocations: 4 kB / 353.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.1413, allocations: 123.2 kB / 353.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009552/0.1422, allocations: 298.5 kB / 353.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.1447, allocations: 0.877 MB / 354.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.1462, allocations: 1.117 MB / 355.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.1464, allocations: 72.67 kB / 355.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005729/0.1522, allocations: 3.155 MB / 359 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.1528, allocations: 271 kB / 359.2 MB, free: 5.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.035e-05/0.1529, allocations: 15.94 kB / 359.2 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006793/0.1536, allocations: 211.6 kB / 359.5 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.1538, allocations: 79.7 kB / 359.5 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1539, allocations: 97.56 kB / 359.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007328/0.1547, allocations: 438.9 kB / 360.1 MB, free: 4.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1547, allocations: 0 / 360.1 MB, free: 4.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1547, allocations: 4 kB / 360.1 MB, free: 4.266 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.1547, allocations: 0 / 360.1 MB, free: 4.266 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009891/0.1557, allocations: 0.5534 MB / 360.6 MB, free: 3.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.1558, allocations: 12.03 kB / 360.6 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.1559, allocations: 58.55 kB / 360.7 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.1564, allocations: 47.61 kB / 360.7 MB, free: 3.539 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006861/0.1571, allocations: 294.3 kB / 361 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.1571, allocations: 24.52 kB / 361 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.1572, allocations: 24 kB / 361.1 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/0.1578, allocations: 326.2 kB / 361.4 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.1578, allocations: 11.94 kB / 361.4 MB, free: 2.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.1579, allocations: 12 kB / 361.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1579, allocations: 4 kB / 361.4 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.1582, allocations: 193.5 kB / 361.6 MB, free: 2.59 MB / 302.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.002408/0.1606, allocations: 2.119 MB / 363.7 MB, free: 252 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.1609, allocations: 178.6 kB / 363.9 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.1611, allocations: 88.78 kB / 364 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.1614, allocations: 251.5 kB / 364.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1615, allocations: 46.5 kB / 364.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.1615, allocations: 0 / 364.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002619/0.1641, allocations: 1.008 MB / 365.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.1641, allocations: 59.34 kB / 365.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.1644, allocations: 270.5 kB / 365.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.1645, allocations: 33.7 kB / 365.6 MB, free: 14.15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.1646, allocations: 184.1 kB / 365.8 MB, free: 13.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.326e-05/0.1647, allocations: 106.5 kB / 365.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/0.1647, allocations: 4 kB / 365.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1649, allocations: 342.8 kB / 366.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.1651, allocations: 84.7 kB / 366.3 MB, free: 13.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.1653, allocations: 166.8 kB / 366.5 MB, free: 13.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.1655, allocations: 111.9 kB / 366.6 MB, free: 13.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1655, allocations: 4 kB / 366.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006829/0.1662, allocations: 381.4 kB / 367 MB, free: 12.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1662, allocations: 4 kB / 367 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1662, allocations: 4 kB / 367 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004093/0.1666, allocations: 101.1 kB / 367.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.1669, allocations: 63.91 kB / 367.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005969/0.1675, allocations: 0.6577 MB / 367.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.1677, allocations: 12 kB / 367.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.1677, allocations: 24.05 kB / 367.8 MB, free: 11.85 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.168, allocations: 153.7 kB / 368 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.1681, allocations: 31.72 kB / 368 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006382/0.1688, allocations: 365 kB / 368.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1688, allocations: 7.953 kB / 368.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1688, allocations: 0 / 368.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005412/0.1694, allocations: 0.563 MB / 369 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.1705, allocations: 0.7393 MB / 369.7 MB, free: 9.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1705, allocations: 0 / 369.7 MB, free: 9.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.1707, allocations: 35.92 kB / 369.7 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/0.1711, allocations: 104.8 kB / 369.8 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.1712, allocations: 11.95 kB / 369.8 MB, free: 9.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005097/0.1717, allocations: 0.6342 MB / 370.5 MB, free: 8.996 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1717, allocations: 4.094 kB / 370.5 MB, free: 8.992 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000759/0.1725, allocations: 485.5 kB / 371 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.1726, allocations: 108.8 kB / 371.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.1727, allocations: 11.94 kB / 371.1 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.1729, allocations: 23.98 kB / 371.1 MB, free: 8.332 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.173, allocations: 11.94 kB / 371.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.173, allocations: 19.98 kB / 371.1 MB, free: 8.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.1732, allocations: 197.9 kB / 371.3 MB, free: 8.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1732, allocations: 0 / 371.3 MB, free: 8.109 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004899/0.1737, allocations: 112 kB / 371.4 MB, free: 8 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.1749, allocations: 1.05 MB / 372.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000495/0.1755, allocations: 239.8 kB / 372.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1755, allocations: 0 / 372.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.1757, allocations: 123.8 kB / 372.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008644/0.1766, allocations: 157.4 kB / 373 MB, free: 6.406 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.1796, allocations: 1.812 MB / 374.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.18, allocations: 0.7647 MB / 375.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003218/0.1804, allocations: 67.27 kB / 375.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.1805, allocations: 95.41 kB / 375.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1805, allocations: 0 / 375.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1992/0.3797, allocations: 9.27 MB / 385 MB, free: 54.35 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.3799, allocations: 236.7 kB / 385.2 MB, free: 54.11 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/2.522, allocations: 0 / 385.2 MB, free: 54.11 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat