Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_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.001246/0.001246, allocations: 97.06 kB / 16.98 MB, free: 6.402 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.001344/0.001344, allocations: 183.1 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1873/0.1873, allocations: 44.23 MB / 337.1 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 8.719 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 61.92 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.005473/0.1345, allocations: 3.82 MB / 475.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.1379, allocations: 2.701 MB / 478.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/0.138, allocations: 0 / 478.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.1383, allocations: 31.81 kB / 478.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.1411, allocations: 0.8988 MB / 479 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1415, allocations: 138.4 kB / 479.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.1418, allocations: 207.5 kB / 479.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.963e-05/0.1419, allocations: 5.562 kB / 479.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.1433, allocations: 0.7684 MB / 480.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.1435, allocations: 135.6 kB / 480.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.1436, allocations: 7.938 kB / 480.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.146, allocations: 1.209 MB / 481.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.1461, allocations: 31.89 kB / 481.5 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.401e-05/0.1462, allocations: 53.64 kB / 481.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008032/0.147, allocations: 375.5 kB / 481.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.147, allocations: 0 / 481.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.479e-06/0.147, allocations: 0 / 481.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.147, allocations: 3.938 kB / 481.9 MB, free: 3.207 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00102/0.1481, allocations: 0.5184 MB / 482.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.1481, allocations: 12.03 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.1483, allocations: 58.42 kB / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000458/0.1487, allocations: 47.78 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.149, allocations: 206.9 kB / 482.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1491, allocations: 15.95 kB / 482.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.1491, allocations: 12 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.1495, allocations: 245.7 kB / 483 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1496, allocations: 0 / 483 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.1496, allocations: 8 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1496, allocations: 4 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.15, allocations: 236.5 kB / 483.3 MB, free: 1.73 MB / 350.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.001509/0.1515, allocations: 1.372 MB / 484.6 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.1517, allocations: 94.53 kB / 484.7 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00198/0.1537, allocations: 2.051 MB / 486.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.154, allocations: 163.5 kB / 486.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.154, allocations: 0 / 486.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.00103/0.155, allocations: 371.8 kB / 487.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.1552, allocations: 265 kB / 487.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.1554, allocations: 158.2 kB / 487.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1554, allocations: 29.7 kB / 487.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1555, allocations: 143.8 kB / 487.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.577e-05/0.1556, allocations: 63.05 kB / 487.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.1556, allocations: 7.938 kB / 487.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1557, allocations: 331 kB / 488.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-05/0.1558, allocations: 39.97 kB / 488.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.156, allocations: 183.4 kB / 488.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1562, allocations: 69.55 kB / 488.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1562, allocations: 4 kB / 488.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000492/0.1567, allocations: 245.6 kB / 488.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1567, allocations: 12.03 kB / 488.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1567, allocations: 4 kB / 488.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.1567, allocations: 11.95 kB / 488.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/0.1573, allocations: 103.8 kB / 488.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000446/0.1577, allocations: 0.5937 MB / 489.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.1579, allocations: 12 kB / 489.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.1579, allocations: 28.08 kB / 489.6 MB, free: 10.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.1581, allocations: 138.2 kB / 489.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.1581, allocations: 23.77 kB / 489.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004962/0.1586, allocations: 232.3 kB / 489.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1587, allocations: 4 kB / 490 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1587, allocations: 0 / 490 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1587, allocations: 96 / 490 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.1592, allocations: 452.8 kB / 490.4 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1592, allocations: 96 / 490.4 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.1595, allocations: 55.95 kB / 490.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1595, allocations: 0 / 490.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1596, allocations: 4 kB / 490.5 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003787/0.1599, allocations: 0.5899 MB / 491 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.16, allocations: 0 / 491 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.1602, allocations: 178.1 kB / 491.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.1604, allocations: 120.9 kB / 491.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.1604, allocations: 3.953 kB / 491.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.1606, allocations: 8 kB / 491.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.1606, allocations: 19.91 kB / 491.4 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1606, allocations: 8 kB / 491.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.934e-05/0.1607, allocations: 127.2 kB / 491.5 MB, free: 8.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1608, allocations: 0 / 491.5 MB, free: 8.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000532/0.1613, allocations: 135.9 kB / 491.6 MB, free: 8.359 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/0.1624, allocations: 1.005 MB / 492.6 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004561/0.1628, allocations: 152.8 kB / 492.8 MB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1628, allocations: 0 / 492.8 MB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.163, allocations: 56.3 kB / 492.8 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.1633, allocations: 33.61 kB / 492.9 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.1662, allocations: 4.198 MB / 497.1 MB, free: 2.746 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1666, allocations: 0.7207 MB / 497.8 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002796/0.1668, allocations: 77.58 kB / 497.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.167, allocations: 55.41 kB / 497.9 MB, free: 1.867 MB / 366.1 MB Notification: Performance of SimCode: time 2.024e-06/0.167, allocations: 0 / 497.9 MB, free: 1.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.1864, allocations: 5.722 MB / 0.4918 GB, free: 12.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/0.1867, allocations: 273.6 kB / 0.4921 GB, free: 12.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.184, allocations: 4.062 kB / 0.4921 GB, free: 12.02 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat does not exist to compare? outputFormat=mat