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.001082/0.001082, allocations: 96.7 kB / 16.94 MB, free: 5.98 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.001157/0.001157, allocations: 183 kB / 17.82 MB, free: 5.652 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.61/1.61, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004495/0.0004495, allocations: 12 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.103, allocations: 47.59 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.01587/0.1189, allocations: 14.17 MB / 342.6 MB, free: 5.762 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.1215, allocations: 1.636 MB / 344.3 MB, free: 4.125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005577/0.1221, allocations: 7.938 kB / 344.3 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006724/0.1228, allocations: 127.3 kB / 344.4 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007854/0.1236, allocations: 211.4 kB / 344.6 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.126, allocations: 0.8692 MB / 345.5 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008557/0.1269, allocations: 494.8 kB / 345.9 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.1271, allocations: 64.69 kB / 346 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/0.1317, allocations: 2.797 MB / 348.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.1321, allocations: 167.3 kB / 349 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.1322, allocations: 12 kB / 349 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.1327, allocations: 223.7 kB / 349.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1328, allocations: 71.72 kB / 349.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.1331, allocations: 97.52 kB / 349.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.1337, allocations: 439.2 kB / 349.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1337, allocations: 0 / 349.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1337, allocations: 0 / 349.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1337, allocations: 0 / 349.8 MB, free: 14.57 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.0008383/0.1345, allocations: 0.5574 MB / 350.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1346, allocations: 11.97 kB / 350.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.58e-05/0.1347, allocations: 58.55 kB / 350.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004564/0.1351, allocations: 51.59 kB / 350.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.1356, allocations: 286.3 kB / 350.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1356, allocations: 20.52 kB / 350.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.1357, allocations: 32 kB / 350.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.1361, allocations: 326.2 kB / 351.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1362, allocations: 3.938 kB / 351.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.1362, allocations: 12 kB / 351.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1362, allocations: 8 kB / 351.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.1365, allocations: 189.5 kB / 351.3 MB, free: 12.9 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.002093/0.1386, allocations: 2.115 MB / 353.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.1389, allocations: 190.5 kB / 353.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.1391, allocations: 251.5 kB / 353.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1392, allocations: 38.52 kB / 353.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.282e-06/0.1392, allocations: 0 / 353.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.002675/0.1419, allocations: 1.019 MB / 354.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1419, allocations: 55.41 kB / 355 MB, free: 8.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.1422, allocations: 266.5 kB / 355.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.1423, allocations: 29.7 kB / 355.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1424, allocations: 184.2 kB / 355.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/0.1425, allocations: 98.55 kB / 355.5 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.1425, allocations: 11.94 kB / 355.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1426, allocations: 342.8 kB / 355.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1428, allocations: 84.7 kB / 356 MB, free: 7.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.143, allocations: 166.9 kB / 356.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.1432, allocations: 111.9 kB / 356.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1432, allocations: 0 / 356.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006334/0.1438, allocations: 377.8 kB / 356.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1439, allocations: 15.94 kB / 356.6 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1439, allocations: 8 kB / 356.6 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/0.1443, allocations: 88.73 kB / 356.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.1445, allocations: 71.89 kB / 356.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005279/0.145, allocations: 0.6577 MB / 357.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.1453, allocations: 11.98 kB / 357.5 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.1453, allocations: 20 kB / 357.5 MB, free: 6.254 MB / 302.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.0001769/0.1455, allocations: 153.7 kB / 357.6 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.1456, allocations: 27.72 kB / 357.7 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007695/0.1463, allocations: 373 kB / 358 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.1464, allocations: 7.984 kB / 358 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.1464, allocations: 7.938 kB / 358 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004992/0.1469, allocations: 0.5592 MB / 358.6 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.1479, allocations: 0.7316 MB / 359.3 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/0.148, allocations: 0 / 359.3 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1482, allocations: 43.91 kB / 359.4 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/0.1487, allocations: 96.72 kB / 359.5 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.1487, allocations: 8 kB / 359.5 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000431/0.1491, allocations: 0.6421 MB / 360.1 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1491, allocations: 0 / 360.1 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006712/0.1498, allocations: 0.4935 MB / 360.6 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.491e-05/0.1499, allocations: 112.8 kB / 360.7 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.15, allocations: 4 kB / 360.7 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.1504, allocations: 19.88 kB / 360.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1504, allocations: 15.98 kB / 360.8 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.1504, allocations: 23.98 kB / 360.8 MB, free: 2.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.1506, allocations: 201.9 kB / 361 MB, free: 2.469 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1506, allocations: 0 / 361 MB, free: 2.469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004261/0.1511, allocations: 108 kB / 361.1 MB, free: 2.363 MB / 302.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.001253/0.1523, allocations: 1.215 MB / 362.3 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.1528, allocations: 236.3 kB / 362.5 MB, free: 0.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1528, allocations: 4.062 kB / 362.5 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.1531, allocations: 127.7 kB / 362.7 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.154, allocations: 164.4 kB / 362.8 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.1574, allocations: 3.309 MB / 366.1 MB, free: 13.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1577, allocations: 0.7764 MB / 366.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003238/0.1581, allocations: 59.25 kB / 367 MB, free: 12.33 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.1582, allocations: 91.39 kB / 367.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1582, allocations: 7.938 kB / 367.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.183, allocations: 9.248 MB / 376.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.1833, allocations: 230 kB / 376.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/2.237, allocations: 3.906 kB / 376.5 MB, free: 2.742 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