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.0009507/0.0009506, allocations: 101.4 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2592/0.2592, allocations: 45.91 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003092, allocations: 11.98 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1561, allocations: 63.47 MB / 481.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004335/0.1605, allocations: 3.498 MB / 485 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003997/0.1645, allocations: 3.465 MB / 488.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1647, allocations: 0 / 488.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.165, allocations: 39.78 kB / 488.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.1665, allocations: 0.5958 MB / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.1669, allocations: 119.4 kB / 489.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.1673, allocations: 259.4 kB / 489.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.792e-05/0.1674, allocations: 17.67 kB / 489.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.1676, allocations: 139.5 kB / 489.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.1678, allocations: 123.6 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1679, allocations: 8 kB / 489.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009116/0.1688, allocations: 387.5 kB / 490.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.73e-05/0.1689, allocations: 43.81 kB / 490.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.954e-05/0.1689, allocations: 57.64 kB / 490.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.1694, allocations: 291.6 kB / 490.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1694, allocations: 4 kB / 490.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1694, allocations: 0 / 490.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1694, allocations: 0 / 490.5 MB, free: 12.23 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.001028/0.1705, allocations: 0.55 MB / 491.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1705, allocations: 8.031 kB / 491.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.163e-05/0.1706, allocations: 58.53 kB / 491.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.1707, allocations: 27.77 kB / 491.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.171, allocations: 222.8 kB / 491.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.1711, allocations: 123.4 kB / 491.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.1711, allocations: 28 kB / 491.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/0.1716, allocations: 319.6 kB / 491.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1716, allocations: 0 / 491.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1717, allocations: 12 kB / 491.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.1717, allocations: 11.95 kB / 491.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.1724, allocations: 0.7352 MB / 492.6 MB, free: 10 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.001375/0.1738, allocations: 1.358 MB / 494 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.1742, allocations: 155.8 kB / 494.1 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002545/0.1767, allocations: 2.868 MB / 497 MB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1768, allocations: 38.56 kB / 497 MB, free: 4.918 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.1768, allocations: 0 / 497 MB, free: 4.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003193/0.1771, allocations: 143.9 kB / 497.2 MB, free: 4.773 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.1771, allocations: 51.41 kB / 497.2 MB, free: 4.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1773, allocations: 211.6 kB / 497.4 MB, free: 4.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.1774, allocations: 33.7 kB / 497.5 MB, free: 4.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1775, allocations: 210.8 kB / 497.7 MB, free: 4.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.1776, allocations: 51.34 kB / 497.7 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.1776, allocations: 8 kB / 497.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1777, allocations: 330.8 kB / 498 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.1778, allocations: 48.84 kB / 498.1 MB, free: 3.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.178, allocations: 318 kB / 498.4 MB, free: 3.359 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.1782, allocations: 107.8 kB / 498.5 MB, free: 3.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1782, allocations: 4 kB / 498.5 MB, free: 3.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005046/0.1787, allocations: 368.8 kB / 498.9 MB, free: 2.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1787, allocations: 8 kB / 498.9 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.1787, allocations: 8.875 kB / 498.9 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.1788, allocations: 23.89 kB / 498.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.179, allocations: 99.83 kB / 499 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.1791, allocations: 19.92 kB / 499 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.1793, allocations: 47.53 kB / 499.1 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.1793, allocations: 31.98 kB / 499.1 MB, free: 2.648 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.0001317/0.1795, allocations: 149.6 kB / 499.3 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.1795, allocations: 19.81 kB / 499.3 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.1799, allocations: 193.2 kB / 499.5 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.1799, allocations: 3.953 kB / 499.5 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1799, allocations: 4 kB / 499.5 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1799, allocations: 0 / 499.5 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.1804, allocations: 437.7 kB / 499.9 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1804, allocations: 12.08 kB / 499.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/0.1805, allocations: 16 kB / 499.9 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1805, allocations: 3.984 kB / 499.9 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1805, allocations: 8 kB / 499.9 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1805, allocations: 0 / 499.9 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1805, allocations: 0 / 499.9 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.1808, allocations: 273.5 kB / 0.4885 GB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.216e-05/0.1809, allocations: 120.7 kB / 0.4886 GB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.1809, allocations: 4 kB / 0.4886 GB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1811, allocations: 7.984 kB / 0.4886 GB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.1811, allocations: 19.94 kB / 0.4886 GB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1811, allocations: 4 kB / 0.4886 GB, free: 1.234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1813, allocations: 144.5 kB / 0.4888 GB, free: 1.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.295e-06/0.1813, allocations: 0 / 0.4888 GB, free: 1.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005129/0.1818, allocations: 111.9 kB / 0.4889 GB, free: 0.9844 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.0007812/0.1826, allocations: 1.146 MB / 0.49 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.1829, allocations: 166 kB / 0.4902 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1829, allocations: 3.938 kB / 0.4902 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/0.1829, allocations: 35.91 kB / 0.4902 GB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.1833, allocations: 59.67 kB / 0.4902 GB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.187, allocations: 7.789 MB / 0.4979 GB, free: 7.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1873, allocations: 0.7287 MB / 0.4986 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.1876, allocations: 54.23 kB / 0.4986 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.652e-05/0.1877, allocations: 63.41 kB / 0.4987 GB, free: 6.613 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1877, allocations: 0 / 0.4987 GB, free: 6.613 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.205, allocations: 5.13 MB / 0.5037 GB, free: 1.633 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.2053, allocations: 192.2 kB / 0.5039 GB, free: 1.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.099, allocations: 0 / 0.5039 GB, free: 1.391 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