Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.001616/0.001616, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.239/2.239, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001107/0.001106, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.696e-05, allocations: 8 kB / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 47.56 MB / 369.2 MB, free: 2.133 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4253/0.5304, allocations: 81.57 MB / 450.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.5307, allocations: 73.53 kB / 450.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0455/0.5762, allocations: 10.09 MB / 460.9 MB, free: 3.195 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5763, allocations: 0 / 460.9 MB, free: 3.195 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.355e-05/0.5763, allocations: 12 kB / 460.9 MB, free: 3.184 MB / 330.7 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.001903/0.5783, allocations: 0.7363 MB / 461.6 MB, free: 2.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.5783, allocations: 8.031 kB / 461.7 MB, free: 2.422 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/0.5785, allocations: 74.75 kB / 461.7 MB, free: 2.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.5787, allocations: 63.25 kB / 461.8 MB, free: 2.297 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008803/0.5796, allocations: 400 kB / 462.2 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.5798, allocations: 65.42 kB / 462.2 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.248e-05/0.5799, allocations: 27.75 kB / 462.3 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.581, allocations: 454.1 kB / 462.7 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.581, allocations: 0 / 462.7 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.5811, allocations: 16 kB / 462.7 MB, free: 1.395 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.5811, allocations: 12 kB / 462.7 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.582, allocations: 271.1 kB / 463 MB, free: 1.117 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003977/0.586, allocations: 1.3 MB / 464.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009068/0.587, allocations: 363.8 kB / 464.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.5874, allocations: 152.7 kB / 464.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.507e-05/0.5875, allocations: 15.98 kB / 464.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.54e-05/0.5876, allocations: 38.56 kB / 464.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 7.153e-06/0.5876, allocations: 3.984 kB / 464.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001436/0.589, allocations: 375 kB / 465.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002756/0.5894, allocations: 452.9 kB / 465.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009489/0.5903, allocations: 403.1 kB / 466.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.5905, allocations: 37.7 kB / 466.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.5908, allocations: 270.9 kB / 466.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.591, allocations: 130.1 kB / 466.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.591, allocations: 8 kB / 466.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5912, allocations: 318.8 kB / 466.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.5916, allocations: 112 kB / 466.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.5922, allocations: 247.3 kB / 467.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.5926, allocations: 164.4 kB / 467.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5927, allocations: 0 / 467.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001346/0.594, allocations: 416.7 kB / 467.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/0.5941, allocations: 29.7 kB / 467.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.5941, allocations: 0 / 467.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004417/0.5946, allocations: 61.72 kB / 467.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/0.5955, allocations: 91.88 kB / 467.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/0.599, allocations: 2.733 MB / 470.6 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008177/0.5999, allocations: 63.66 kB / 470.7 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.6, allocations: 16.64 kB / 470.7 MB, free: 8.785 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * 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.0002586/0.6003, allocations: 132.9 kB / 470.9 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.6005, allocations: 51.34 kB / 470.9 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.6007, allocations: 52.89 kB / 471 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.6007, allocations: 4 kB / 471 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.6007, allocations: 0 / 471 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001093/0.6018, allocations: 0.6764 MB / 471.6 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.6043, allocations: 0.9781 MB / 472.6 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.6044, allocations: 0 / 472.6 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.6054, allocations: 91.88 kB / 472.7 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.6055, allocations: 0 / 472.7 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.6055, allocations: 11.98 kB / 472.7 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.6056, allocations: 3.953 kB / 472.7 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6056, allocations: 0 / 472.7 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.6071, allocations: 0.5574 MB / 473.3 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004006/0.6076, allocations: 164.4 kB / 473.4 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.6077, allocations: 12 kB / 473.4 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.6083, allocations: 35.97 kB / 473.5 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.6085, allocations: 31.84 kB / 473.5 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.6085, allocations: 12 kB / 473.5 MB, free: 5.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007231/0.6092, allocations: 317.2 kB / 473.8 MB, free: 5.461 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.176e-06/0.6093, allocations: 0 / 473.8 MB, free: 5.461 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001026/0.6103, allocations: 155.7 kB / 474 MB, free: 5.309 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.002014/0.6124, allocations: 1.126 MB / 475.1 MB, free: 4.152 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.6139, allocations: 0.559 MB / 475.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/0.614, allocations: 4 kB / 475.7 MB, free: 3.551 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004336/0.6144, allocations: 147.9 kB / 475.8 MB, free: 3.406 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.6158, allocations: 136.2 kB / 476 MB, free: 3.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.6187, allocations: 0.7887 MB / 476.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.6194, allocations: 0.8394 MB / 477.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004906/0.6199, allocations: 171.4 kB / 477.8 MB, free: 1.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6199, allocations: 4 kB / 477.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.86/3.48, allocations: 10.64 MB / 488.4 MB, free: 6.754 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat