Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008853/0.0008855, allocations: 102.2 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2628/0.2628, allocations: 45.92 MB / 344.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003154, allocations: 4 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 63.48 MB / 481.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005462/0.1586, allocations: 4.07 MB / 485.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004784/0.1634, allocations: 3.709 MB / 489.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.1637, allocations: 4 kB / 489.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.164, allocations: 35.73 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.1658, allocations: 0.5789 MB / 490 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.1662, allocations: 123.2 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.1668, allocations: 390.1 kB / 490.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.833e-05/0.1668, allocations: 13.67 kB / 490.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.167, allocations: 147.5 kB / 490.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.1673, allocations: 147.4 kB / 490.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.1674, allocations: 8 kB / 490.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009597/0.1683, allocations: 319.6 kB / 491.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.262e-05/0.1684, allocations: 39.81 kB / 491.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.798e-05/0.1685, allocations: 69.58 kB / 491.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.1689, allocations: 295.6 kB / 491.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.1689, allocations: 0 / 491.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1689, allocations: 0 / 491.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.169, allocations: 0 / 491.5 MB, free: 11.25 MB / 366.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.00103/0.17, allocations: 0.55 MB / 492.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1701, allocations: 8.031 kB / 492.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.69e-05/0.1701, allocations: 58.55 kB / 492.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.1703, allocations: 27.77 kB / 492.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.1705, allocations: 234.7 kB / 492.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.1707, allocations: 123.4 kB / 492.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.1707, allocations: 24 kB / 492.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.1712, allocations: 323.6 kB / 492.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1712, allocations: 0 / 492.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.1713, allocations: 12 kB / 492.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.1713, allocations: 11.94 kB / 492.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007535/0.172, allocations: 0.7313 MB / 493.6 MB, free: 9.008 MB / 366.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.001308/0.1734, allocations: 1.308 MB / 494.9 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.1737, allocations: 159.8 kB / 495.1 MB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.1738, allocations: 81.48 kB / 495.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002336/0.1762, allocations: 2.813 MB / 498 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1762, allocations: 38.5 kB / 498 MB, free: 3.945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.744e-06/0.1762, allocations: 0 / 498 MB, free: 3.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002821/0.1765, allocations: 117.4 kB / 498.1 MB, free: 3.824 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1766, allocations: 51.41 kB / 498.2 MB, free: 3.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1767, allocations: 227.8 kB / 498.4 MB, free: 3.531 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1768, allocations: 29.64 kB / 498.4 MB, free: 3.496 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1769, allocations: 218.6 kB / 498.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.177, allocations: 47.39 kB / 498.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.177, allocations: 8 kB / 498.7 MB, free: 3.223 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1771, allocations: 326.8 kB / 499 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.1772, allocations: 44.83 kB / 499.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.1774, allocations: 343.2 kB / 499.4 MB, free: 2.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.1776, allocations: 107.9 kB / 499.5 MB, free: 2.262 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1776, allocations: 4 kB / 499.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004952/0.1781, allocations: 381.5 kB / 499.9 MB, free: 1.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.1781, allocations: 12 kB / 499.9 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.1782, allocations: 12 kB / 499.9 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.1782, allocations: 12 kB / 499.9 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.1784, allocations: 99.83 kB / 0.4883 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.522e-05/0.1785, allocations: 19.88 kB / 0.4883 GB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.1787, allocations: 51.44 kB / 0.4884 GB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.1787, allocations: 36.3 kB / 0.4884 GB, free: 1.641 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001279/0.1789, allocations: 149.6 kB / 0.4886 GB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.1789, allocations: 23.77 kB / 0.4886 GB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.1792, allocations: 148.5 kB / 0.4887 GB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.1792, allocations: 4 kB / 0.4887 GB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1792, allocations: 0 / 0.4887 GB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1792, allocations: 0 / 0.4887 GB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.1797, allocations: 408.8 kB / 0.4891 GB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1797, allocations: 4.094 kB / 0.4891 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.1797, allocations: 15.98 kB / 0.4891 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1797, allocations: 0 / 0.4891 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1798, allocations: 0 / 0.4891 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.1798, allocations: 4 kB / 0.4891 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1798, allocations: 3.938 kB / 0.4891 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.1799, allocations: 209.8 kB / 0.4893 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.18, allocations: 104.9 kB / 0.4894 GB, free: 464 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.1801, allocations: 4 kB / 0.4894 GB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1802, allocations: 8 kB / 0.4894 GB, free: 452 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.1802, allocations: 11.92 kB / 0.4895 GB, free: 440 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1802, allocations: 7.984 kB / 0.4895 GB, free: 432 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1804, allocations: 152.5 kB / 0.4896 GB, free: 280 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1804, allocations: 4 kB / 0.4896 GB, free: 276 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004736/0.1809, allocations: 95.94 kB / 0.4897 GB, free: 180 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.000569/0.1814, allocations: 0.7856 MB / 0.4905 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.1817, allocations: 170.1 kB / 0.4906 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1817, allocations: 384 / 0.4906 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.534e-05/0.1818, allocations: 23.94 kB / 0.4907 GB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.1822, allocations: 36.84 kB / 0.4907 GB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.1841, allocations: 1.463 MB / 0.4921 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1844, allocations: 0.7326 MB / 0.4928 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002242/0.1846, allocations: 54.86 kB / 0.4929 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.1847, allocations: 63.42 kB / 0.493 GB, free: 12.59 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1847, allocations: 0 / 0.493 GB, free: 12.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.2017, allocations: 4.72 MB / 0.4976 GB, free: 8.035 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.2019, allocations: 197.4 kB / 0.4977 GB, free: 7.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.146, allocations: 8 kB / 0.4978 GB, free: 7.785 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat