Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 182.7 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001156, allocations: 98.7 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002582/0.0002583, allocations: 12 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2415, allocations: 50.39 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1044/0.346, allocations: 80.33 MB / 481.9 MB, free: 132 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.3463, allocations: 71.95 kB / 482 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02446/0.3707, allocations: 9.412 MB / 491.4 MB, free: 6.578 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3708, allocations: 0 / 491.4 MB, free: 6.578 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.927e-05/0.3708, allocations: 15.94 kB / 491.4 MB, free: 6.562 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001179/0.372, allocations: 0.7571 MB / 492.2 MB, free: 5.746 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3721, allocations: 8.031 kB / 492.2 MB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.3722, allocations: 83.52 kB / 492.2 MB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.3723, allocations: 63.28 kB / 492.3 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.3729, allocations: 378 kB / 492.7 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.373, allocations: 58.7 kB / 492.7 MB, free: 5.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.373, allocations: 32 kB / 492.8 MB, free: 5.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007266/0.3738, allocations: 470.5 kB / 493.2 MB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.3738, allocations: 7.859 kB / 493.2 MB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.3739, allocations: 19.94 kB / 493.3 MB, free: 4.539 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.3739, allocations: 8 kB / 493.3 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/0.3744, allocations: 295.8 kB / 493.5 MB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.3765, allocations: 1.266 MB / 494.8 MB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.3777, allocations: 454.9 kB / 495.3 MB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.3777, allocations: 4.281 kB / 495.3 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.3778, allocations: 46.78 kB / 495.3 MB, free: 2.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.3778, allocations: 3.938 kB / 495.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001203/0.379, allocations: 0.6223 MB / 495.9 MB, free: 1.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002513/0.3792, allocations: 444.9 kB / 496.4 MB, free: 1.152 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.3797, allocations: 401.1 kB / 496.8 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.3798, allocations: 29.7 kB / 496.8 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.38, allocations: 236.4 kB / 497 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.883e-05/0.3801, allocations: 114.3 kB / 497.1 MB, free: 388 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.3801, allocations: 11.94 kB / 497.1 MB, free: 376 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3803, allocations: 358.7 kB / 497.5 MB, free: 8 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.3806, allocations: 115.9 kB / 497.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.381, allocations: 254.6 kB / 497.9 MB, free: 15.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.3813, allocations: 170 kB / 498 MB, free: 15.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3813, allocations: 0 / 498 MB, free: 15.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000739/0.382, allocations: 438.2 kB / 498.5 MB, free: 14.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.3821, allocations: 33.7 kB / 498.5 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3821, allocations: 4 kB / 498.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.3823, allocations: 49.72 kB / 498.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.3826, allocations: 71.91 kB / 498.6 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.385, allocations: 2.76 MB / 0.4896 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.3854, allocations: 55.56 kB / 0.4897 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.3855, allocations: 11.95 kB / 0.4897 GB, free: 11.71 MB / 378.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 () * 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.0003093/0.3858, allocations: 175 kB / 0.4898 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/0.3859, allocations: 47.44 kB / 0.4899 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.386, allocations: 52.7 kB / 0.4899 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.386, allocations: 4 kB / 0.4899 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.386, allocations: 0 / 0.4899 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007391/0.3868, allocations: 0.6648 MB / 0.4906 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.3882, allocations: 0.9192 MB / 0.4915 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3882, allocations: 3.938 kB / 0.4915 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.3886, allocations: 71.89 kB / 0.4916 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3886, allocations: 0 / 0.4916 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.3886, allocations: 4 kB / 0.4916 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.3886, allocations: 8 kB / 0.4916 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3887, allocations: 3.953 kB / 0.4916 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009139/0.3896, allocations: 0.5534 MB / 0.4921 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.3898, allocations: 160.4 kB / 0.4923 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.3899, allocations: 8 kB / 0.4923 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.3901, allocations: 27.92 kB / 0.4923 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.3902, allocations: 19.94 kB / 0.4923 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.3902, allocations: 11.98 kB / 0.4923 GB, free: 8.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003957/0.3906, allocations: 315.1 kB / 0.4926 GB, free: 8.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3906, allocations: 0 / 0.4926 GB, free: 8.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005339/0.3912, allocations: 135.8 kB / 0.4928 GB, free: 8.344 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001378/0.3925, allocations: 1.107 MB / 0.4939 GB, free: 7.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009796/0.3935, allocations: 0.5795 MB / 0.4944 GB, free: 6.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.3936, allocations: 7.938 kB / 0.4944 GB, free: 6.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.3938, allocations: 131.8 kB / 0.4945 GB, free: 6.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.3944, allocations: 132.9 kB / 0.4947 GB, free: 6.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.3967, allocations: 1.593 MB / 0.4962 GB, free: 4.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.3971, allocations: 0.8315 MB / 0.497 GB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.3973, allocations: 60.22 kB / 0.4971 GB, free: 3.758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.3975, allocations: 159.4 kB / 0.4973 GB, free: 3.602 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3976, allocations: 0 / 0.4973 GB, free: 3.602 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2284/0.626, allocations: 11.27 MB / 0.5083 GB, free: 97.4 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.6263, allocations: 217 kB / 0.5085 GB, free: 97.15 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.007, allocations: 7.375 kB / 0.5085 GB, free: 97.15 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat