Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.001353/0.001353, allocations: 98.83 kB / 16.31 MB, free: 5.992 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.001703/0.001704, allocations: 187.3 kB / 17.2 MB, free: 5.91 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.43/1.43, allocations: 223.2 MB / 241.1 MB, free: 5.359 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003727, allocations: 5.219 kB / 300.8 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1496, allocations: 50.42 MB / 351.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004976/0.1546, allocations: 2.929 MB / 354.2 MB, free: 8.641 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.1568, allocations: 0.9042 MB / 355.1 MB, free: 7.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.1571, allocations: 4 kB / 355.1 MB, free: 7.727 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.1573, allocations: 71.5 kB / 355.1 MB, free: 7.656 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007085/0.158, allocations: 207.4 kB / 355.3 MB, free: 7.453 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1583, allocations: 95.83 kB / 355.4 MB, free: 7.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007475/0.159, allocations: 479.3 kB / 355.9 MB, free: 6.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.1593, allocations: 149.9 kB / 356 MB, free: 6.742 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.1596, allocations: 215.3 kB / 356.3 MB, free: 6.531 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.16, allocations: 250.9 kB / 356.5 MB, free: 6.285 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.024e-05/0.16, allocations: 32 kB / 356.5 MB, free: 6.254 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.257e-05/0.1601, allocations: 32 kB / 356.6 MB, free: 6.223 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.1602, allocations: 87.66 kB / 356.6 MB, free: 6.137 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.1603, allocations: 137.4 kB / 356.8 MB, free: 5.996 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.1607, allocations: 490.6 kB / 357.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1608, allocations: 0 / 357.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1608, allocations: 0 / 357.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1608, allocations: 0 / 357.3 MB, free: 5.516 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001475/0.1623, allocations: 0.8076 MB / 358.1 MB, free: 4.648 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1623, allocations: 12.03 kB / 358.1 MB, free: 4.637 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.1624, allocations: 79.17 kB / 358.2 MB, free: 4.551 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1626, allocations: 63.25 kB / 358.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/0.1632, allocations: 401.5 kB / 358.6 MB, free: 4.059 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.1634, allocations: 86.25 kB / 358.7 MB, free: 3.969 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.1635, allocations: 36 kB / 358.7 MB, free: 3.934 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/0.1645, allocations: 0.5009 MB / 359.2 MB, free: 3.379 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1645, allocations: 3.953 kB / 359.2 MB, free: 3.375 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.1646, allocations: 12 kB / 359.2 MB, free: 3.363 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1646, allocations: 12 kB / 359.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008928/0.1655, allocations: 390.4 kB / 359.6 MB, free: 2.969 MB / 286.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.001973/0.1675, allocations: 1.279 MB / 360.9 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000715/0.1682, allocations: 411.4 kB / 361.3 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.1682, allocations: 11.94 kB / 361.3 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1683, allocations: 38.56 kB / 361.4 MB, free: 1.113 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.1683, allocations: 4 kB / 361.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001732/0.17, allocations: 0.7861 MB / 362.2 MB, free: 280 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001897/0.1702, allocations: 445 kB / 362.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.1706, allocations: 422 kB / 363 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.1707, allocations: 37.7 kB / 363 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.171, allocations: 240.4 kB / 363.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1711, allocations: 126.2 kB / 363.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.1711, allocations: 4 kB / 363.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1712, allocations: 358.8 kB / 363.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.1716, allocations: 163.9 kB / 363.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.1721, allocations: 304.9 kB / 364.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.1726, allocations: 211.2 kB / 364.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1726, allocations: 0 / 364.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001103/0.1737, allocations: 0.5178 MB / 364.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.1737, allocations: 33.7 kB / 365 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1738, allocations: 0 / 365 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.1739, allocations: 45.7 kB / 365 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.1743, allocations: 107.8 kB / 365.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.1766, allocations: 2.767 MB / 367.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.177, allocations: 67.88 kB / 368 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.1771, allocations: 12 kB / 368 MB, free: 9.969 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003438/0.1774, allocations: 174.4 kB / 368.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.1775, allocations: 55.42 kB / 368.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.1776, allocations: 52.77 kB / 368.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1776, allocations: 4.375 kB / 368.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1776, allocations: 0 / 368.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/0.1786, allocations: 0.7672 MB / 369 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.1804, allocations: 1.04 MB / 370.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1804, allocations: 0 / 370.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.1809, allocations: 107.9 kB / 370.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1809, allocations: 0 / 370.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.1809, allocations: 11.94 kB / 370.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1809, allocations: 0 / 370.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1809, allocations: 0 / 370.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.1825, allocations: 0.7139 MB / 370.9 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.1826, allocations: 160.4 kB / 371 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/0.1827, allocations: 12 kB / 371.1 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.1831, allocations: 51.94 kB / 371.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.1832, allocations: 23.97 kB / 371.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1832, allocations: 12 kB / 371.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002965/0.1835, allocations: 299.1 kB / 371.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1835, allocations: 0 / 371.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004866/0.184, allocations: 135.8 kB / 371.6 MB, free: 6.156 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * 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.001776/0.1858, allocations: 1.266 MB / 372.8 MB, free: 4.863 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.1874, allocations: 0.6881 MB / 373.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1874, allocations: 0 / 373.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.1879, allocations: 195.8 kB / 373.7 MB, free: 3.945 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.1886, allocations: 129.7 kB / 373.8 MB, free: 3.816 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.1909, allocations: 1.629 MB / 375.5 MB, free: 2.141 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.1913, allocations: 0.8432 MB / 376.3 MB, free: 1.273 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.1915, allocations: 51.38 kB / 376.4 MB, free: 1.219 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.1919, allocations: 167.4 kB / 376.5 MB, free: 1.055 MB / 302.1 MB Notification: Performance of SimCode: time 1.423e-06/0.1919, allocations: 0 / 376.5 MB, free: 1.055 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.2173, allocations: 11.57 MB / 388.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/0.2176, allocations: 212.9 kB / 388.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.341, allocations: 0 / 388.3 MB, free: 5.543 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat