Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002371/0.002375, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 98.84 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3019/0.3019, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 8 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1456, allocations: 58.87 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006195/0.1519, allocations: 3.459 MB / 493.8 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006434/0.1584, allocations: 3.472 MB / 497.3 MB, free: 2.273 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002138/0.1586, allocations: 4 kB / 497.3 MB, free: 2.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.159, allocations: 39.78 kB / 497.3 MB, free: 2.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.1615, allocations: 0.5882 MB / 497.9 MB, free: 1.641 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.1621, allocations: 127.8 kB / 498 MB, free: 1.516 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006799/0.1628, allocations: 259.4 kB / 498.3 MB, free: 1.262 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.505e-05/0.1629, allocations: 9.688 kB / 498.3 MB, free: 1.254 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.1632, allocations: 135.5 kB / 498.4 MB, free: 1.121 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.1635, allocations: 127.6 kB / 498.5 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.1636, allocations: 8 kB / 498.5 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.1652, allocations: 379.5 kB / 498.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.1653, allocations: 43.81 kB / 499 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1654, allocations: 61.64 kB / 499 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008942/0.1663, allocations: 287.6 kB / 499.3 MB, free: 232 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1664, allocations: 0 / 499.3 MB, free: 232 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1664, allocations: 0 / 499.3 MB, free: 232 kB / 330.7 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.1664, allocations: 0 / 499.3 MB, free: 232 kB / 330.7 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.001502/0.1679, allocations: 0.5539 MB / 499.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.168, allocations: 12.03 kB / 499.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.1681, allocations: 58.55 kB / 499.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.1683, allocations: 35.7 kB / 499.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.1687, allocations: 222.8 kB / 0.4884 GB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.1689, allocations: 119.4 kB / 0.4886 GB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.1689, allocations: 20 kB / 0.4886 GB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007635/0.1697, allocations: 327.6 kB / 0.4889 GB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1697, allocations: 0 / 0.4889 GB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.1698, allocations: 15.95 kB / 0.4889 GB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.1698, allocations: 11.98 kB / 0.4889 GB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.1712, allocations: 0.7351 MB / 0.4896 GB, free: 13.98 MB / 346.7 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.00233/0.1736, allocations: 1.355 MB / 0.491 GB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.1741, allocations: 155.8 kB / 0.4911 GB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004045/0.1782, allocations: 2.86 MB / 0.4939 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1783, allocations: 34.5 kB / 0.4939 GB, free: 8.914 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 3.577e-06/0.1783, allocations: 0 / 0.4939 GB, free: 8.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005303/0.1788, allocations: 147.1 kB / 0.4941 GB, free: 8.766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1789, allocations: 59.41 kB / 0.4941 GB, free: 8.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1792, allocations: 207 kB / 0.4943 GB, free: 8.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.1792, allocations: 29.7 kB / 0.4944 GB, free: 8.449 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.1794, allocations: 273.3 kB / 0.4946 GB, free: 8.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.1795, allocations: 55.34 kB / 0.4947 GB, free: 8.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.1795, allocations: 11.94 kB / 0.4947 GB, free: 8.113 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1797, allocations: 322.8 kB / 0.495 GB, free: 7.789 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.1799, allocations: 52.83 kB / 0.495 GB, free: 7.738 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.1803, allocations: 322.1 kB / 0.4953 GB, free: 7.289 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.1806, allocations: 95.86 kB / 0.4954 GB, free: 7.195 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.1806, allocations: 4 kB / 0.4954 GB, free: 7.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009798/0.1816, allocations: 369.7 kB / 0.4958 GB, free: 6.824 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.1816, allocations: 19.92 kB / 0.4958 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.1817, allocations: 12 kB / 0.4958 GB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/0.1817, allocations: 12 kB / 0.4958 GB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.1822, allocations: 95.83 kB / 0.4959 GB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.914e-05/0.1823, allocations: 23.92 kB / 0.4959 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.1827, allocations: 51.5 kB / 0.496 GB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.1828, allocations: 28 kB / 0.496 GB, free: 6.586 MB / 346.7 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.0002046/0.183, allocations: 154.3 kB / 0.4962 GB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/0.1831, allocations: 23.81 kB / 0.4962 GB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/0.1837, allocations: 185.2 kB / 0.4964 GB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.1837, allocations: 4 kB / 0.4964 GB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1837, allocations: 0 / 0.4964 GB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.1837, allocations: 4.031 kB / 0.4964 GB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008453/0.1846, allocations: 449.6 kB / 0.4968 GB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1846, allocations: 0 / 0.4968 GB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.1848, allocations: 23.98 kB / 0.4968 GB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.1848, allocations: 0 / 0.4968 GB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.1848, allocations: 7.938 kB / 0.4968 GB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1849, allocations: 0 / 0.4968 GB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.1849, allocations: 7.938 kB / 0.4968 GB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.1853, allocations: 261.7 kB / 0.4971 GB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.1854, allocations: 120.8 kB / 0.4972 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.1855, allocations: 4 kB / 0.4972 GB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.1858, allocations: 11.94 kB / 0.4972 GB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.1858, allocations: 15.92 kB / 0.4972 GB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.1858, allocations: 4 kB / 0.4972 GB, free: 5.172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001913/0.186, allocations: 148.5 kB / 0.4974 GB, free: 5.027 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1861, allocations: 0 / 0.4974 GB, free: 5.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008016/0.1869, allocations: 107.8 kB / 0.4975 GB, free: 4.922 MB / 346.7 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.001126/0.188, allocations: 1.142 MB / 0.4986 GB, free: 3.727 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005434/0.1886, allocations: 168.7 kB / 0.4988 GB, free: 3.562 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.1886, allocations: 4 kB / 0.4988 GB, free: 3.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1887, allocations: 37.47 kB / 0.4988 GB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.1894, allocations: 56.62 kB / 0.4989 GB, free: 3.469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.1951, allocations: 7.822 MB / 0.5065 GB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.1955, allocations: 0.7287 MB / 0.5072 GB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.1957, allocations: 71.41 kB / 0.5073 GB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.103e-06/0.1957, allocations: 0 / 0.5073 GB, free: 10.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.767/2.963, allocations: 4.309 MB / 0.5115 GB, free: 6.254 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat