Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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 3.2.3+maint.om/package.mo", uses=false) 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 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.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",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.001273/0.001282, allocations: 102.4 kB / 16.94 MB, free: 6.441 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.001331/0.001332, allocations: 185.1 kB / 17.83 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004603, allocations: 19.42 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1132, allocations: 47.57 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005215/0.1185, allocations: 3.989 MB / 332.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.1212, allocations: 1.295 MB / 333.7 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004014/0.1217, allocations: 11.94 kB / 333.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.122, allocations: 99.27 kB / 333.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008119/0.1228, allocations: 351 kB / 334.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.1233, allocations: 171.7 kB / 334.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009055/0.1242, allocations: 0.7808 MB / 335.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004317/0.1246, allocations: 270.7 kB / 335.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.1252, allocations: 374.8 kB / 335.7 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004881/0.1257, allocations: 438.2 kB / 336.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.1258, allocations: 60 kB / 336.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1259, allocations: 60 kB / 336.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.1261, allocations: 167.3 kB / 336.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.1263, allocations: 205.3 kB / 336.6 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007343/0.127, allocations: 0.8374 MB / 337.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.127, allocations: 0 / 337.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.127, allocations: 0 / 337.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.127, allocations: 0 / 337.5 MB, free: 10.88 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002218/0.1293, allocations: 1.193 MB / 338.7 MB, free: 9.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.1293, allocations: 8.031 kB / 338.7 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002025/0.1295, allocations: 119.7 kB / 338.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.1298, allocations: 110.8 kB / 338.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009232/0.1307, allocations: 0.5395 MB / 339.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003154/0.131, allocations: 174.4 kB / 339.6 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.1311, allocations: 56 kB / 339.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.1329, allocations: 0.8861 MB / 340.6 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.1329, allocations: 0 / 340.6 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.935e-05/0.133, allocations: 28 kB / 340.6 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.133, allocations: 16 kB / 340.6 MB, free: 7.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.1345, allocations: 0.6649 MB / 341.3 MB, free: 6.852 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.003266/0.1378, allocations: 2.065 MB / 343.3 MB, free: 4.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.1392, allocations: 0.8858 MB / 344.2 MB, free: 3.734 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.101e-05/0.1393, allocations: 12.66 kB / 344.2 MB, free: 3.723 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.1394, allocations: 47.22 kB / 344.3 MB, free: 3.668 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 1.983e-06/0.1394, allocations: 0 / 344.3 MB, free: 3.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.005291/0.1447, allocations: 1.994 MB / 346.3 MB, free: 1.578 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004123/0.1451, allocations: 0.8234 MB / 347.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007163/0.1458, allocations: 0.5747 MB / 347.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.235e-05/0.1459, allocations: 45.7 kB / 347.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.1462, allocations: 348.9 kB / 348 MB, free: 15.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.1464, allocations: 252.3 kB / 348.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.1464, allocations: 15.94 kB / 348.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1466, allocations: 394.6 kB / 348.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/0.1473, allocations: 301.8 kB / 349 MB, free: 14.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000971/0.1483, allocations: 0.5741 MB / 349.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008089/0.1491, allocations: 439.9 kB / 350 MB, free: 13.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1492, allocations: 0 / 350 MB, free: 13.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002684/0.1518, allocations: 1.196 MB / 351.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/0.1519, allocations: 85.05 kB / 351.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1519, allocations: 0 / 351.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007455/0.1527, allocations: 251.3 kB / 351.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.1534, allocations: 155.8 kB / 351.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007868/0.1612, allocations: 6.574 MB / 358.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.1623, allocations: 123.4 kB / 358.4 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.1624, allocations: 20.16 kB / 358.4 MB, free: 4.512 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004165/0.1628, allocations: 217.8 kB / 358.6 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.163, allocations: 87.06 kB / 358.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.1632, allocations: 91.33 kB / 358.8 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.1632, allocations: 15.95 kB / 358.8 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1632, allocations: 0 / 358.8 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002626/0.1659, allocations: 1.335 MB / 360.1 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/0.1699, allocations: 1.983 MB / 362.1 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.17, allocations: 7.984 kB / 362.1 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007148/0.1707, allocations: 147.8 kB / 362.3 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005689/0.1713, allocations: 214.6 kB / 362.5 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.405e-05/0.1713, allocations: 23.98 kB / 362.5 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00681/0.1782, allocations: 5.122 MB / 367.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1782, allocations: 3.938 kB / 367.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003657/0.1819, allocations: 1.527 MB / 369.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005292/0.1824, allocations: 232 kB / 369.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.1826, allocations: 23.94 kB / 369.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000741/0.1834, allocations: 71.94 kB / 369.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.1836, allocations: 60.56 kB / 369.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.1836, allocations: 27.94 kB / 369.5 MB, free: 8.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000615/0.1842, allocations: 411.1 kB / 370 MB, free: 8.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1842, allocations: 0 / 370 MB, free: 8.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001033/0.1853, allocations: 283.6 kB / 370.2 MB, free: 8.023 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003878/0.1892, allocations: 2.095 MB / 372.3 MB, free: 5.887 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.1917, allocations: 1.402 MB / 373.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.1917, allocations: 8 kB / 373.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.1932, allocations: 0.8043 MB / 374.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.1942, allocations: 210.8 kB / 374.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.1989, allocations: 2.717 MB / 377.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.197/0.3959, allocations: 0.9622 MB / 378.4 MB, free: 51.3 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005533/0.3965, allocations: 88.94 kB / 378.5 MB, free: 51.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.3969, allocations: 289.6 kB / 378.8 MB, free: 51.29 MB / 318.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3969, allocations: 0 / 378.8 MB, free: 51.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03984/0.4367, allocations: 22.02 MB / 400.8 MB, free: 40.16 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/0.4369, allocations: 212.3 kB / 401 MB, free: 39.92 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/2.958, allocations: 4 kB / 401 MB, free: 39.91 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat does not exist to compare? outputFormat=mat