Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.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 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.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.0008923/0.0008924, allocations: 96.81 kB / 16.98 MB, free: 5.938 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.001078/0.001078, allocations: 185.6 kB / 17.88 MB, free: 5.594 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.439/1.439, allocations: 223.2 MB / 241.8 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2416/0.2416, allocations: 44.24 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.000357, allocations: 12.69 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004146/0.1551, allocations: 3.458 MB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.1589, allocations: 3.457 MB / 478.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.62e-05/0.159, allocations: 0 / 478.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1593, allocations: 43.78 kB / 478.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.1607, allocations: 0.5989 MB / 479.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.161, allocations: 118.3 kB / 479.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.1614, allocations: 255.4 kB / 479.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.931e-05/0.1615, allocations: 9.688 kB / 479.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.1617, allocations: 135.6 kB / 479.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1619, allocations: 135.6 kB / 479.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.1619, allocations: 4 kB / 479.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008561/0.1628, allocations: 379.5 kB / 480.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.1629, allocations: 39.88 kB / 480.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.266e-05/0.163, allocations: 69.52 kB / 480.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.1634, allocations: 299.6 kB / 480.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1634, allocations: 4 kB / 480.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1634, allocations: 0 / 480.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1635, allocations: 0 / 480.5 MB, free: 4.641 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00111/0.1646, allocations: 0.5383 MB / 481 MB, free: 4.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.1646, allocations: 8.031 kB / 481.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.6e-05/0.1647, allocations: 66.53 kB / 481.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1649, allocations: 23.81 kB / 481.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1651, allocations: 226.7 kB / 481.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.1653, allocations: 127.4 kB / 481.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.1653, allocations: 20 kB / 481.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.1659, allocations: 323.6 kB / 481.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1659, allocations: 0 / 481.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.1659, allocations: 12 kB / 481.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.1659, allocations: 4 kB / 481.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000763/0.1667, allocations: 0.7391 MB / 482.6 MB, free: 2.418 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.001668/0.1684, allocations: 1.358 MB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.1688, allocations: 163.7 kB / 484.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003313/0.1721, allocations: 2.856 MB / 487 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.1722, allocations: 34.5 kB / 487 MB, free: 13.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.1722, allocations: 0 / 487 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003881/0.1726, allocations: 144.6 kB / 487.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.1727, allocations: 55.41 kB / 487.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.1729, allocations: 207.8 kB / 487.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1729, allocations: 33.64 kB / 487.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.1731, allocations: 206.8 kB / 487.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.1731, allocations: 47.36 kB / 487.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/0.1732, allocations: 12 kB / 487.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1733, allocations: 334.8 kB / 488 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.254e-05/0.1734, allocations: 48.84 kB / 488.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.1737, allocations: 322 kB / 488.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.1739, allocations: 107.8 kB / 488.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.1739, allocations: 4 kB / 488.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005661/0.1745, allocations: 369.5 kB / 488.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.1745, allocations: 8 kB / 488.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.1745, allocations: 8 kB / 488.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.1746, allocations: 16 kB / 488.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.1748, allocations: 99.77 kB / 489 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/0.1748, allocations: 23.92 kB / 489 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.1751, allocations: 51.52 kB / 489 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.1751, allocations: 27.98 kB / 489.1 MB, free: 11.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.1753, allocations: 162.2 kB / 489.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.1753, allocations: 19.81 kB / 489.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.1757, allocations: 185.2 kB / 489.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.1757, allocations: 4 kB / 489.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1757, allocations: 0 / 489.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1757, allocations: 0 / 489.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.1763, allocations: 453.7 kB / 489.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1763, allocations: 0 / 489.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/0.1763, allocations: 16 kB / 489.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1764, allocations: 0 / 489.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1764, allocations: 12.05 kB / 489.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1764, allocations: 0 / 489.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.1764, allocations: 12.08 kB / 489.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.1766, allocations: 269.5 kB / 490.2 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/0.1767, allocations: 116.7 kB / 490.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.1768, allocations: 4 kB / 490.3 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1769, allocations: 15.92 kB / 490.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.177, allocations: 8.031 kB / 490.3 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.177, allocations: 7.984 kB / 490.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1771, allocations: 148.5 kB / 490.5 MB, free: 9.508 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1771, allocations: 4 kB / 490.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006227/0.1778, allocations: 107.9 kB / 490.6 MB, free: 9.398 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007827/0.1785, allocations: 1.146 MB / 491.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.1788, allocations: 166 kB / 491.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1788, allocations: 0 / 491.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.697e-05/0.1789, allocations: 35.86 kB / 491.9 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1793, allocations: 48.83 kB / 492 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/0.1837, allocations: 7.785 MB / 499.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.1841, allocations: 0.7326 MB / 0.4888 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002737/0.1844, allocations: 62.44 kB / 0.4888 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.1845, allocations: 67.41 kB / 0.4889 GB, free: 15.03 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1845, allocations: 3.938 kB / 0.4889 GB, free: 15.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.2013, allocations: 5.136 MB / 0.4939 GB, free: 10.05 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.2015, allocations: 185.8 kB / 0.4941 GB, free: 9.812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.058, allocations: 4.062 kB / 0.4941 GB, free: 9.809 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat