Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",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.0009532/0.0009532, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.422/1.422, allocations: 221.3 MB / 235.5 MB, free: 2.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008632/0.0008634, allocations: 90.05 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.705e-05, allocations: 4 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 50.41 MB / 394.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3461/0.4596, allocations: 80.99 MB / 475.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.4598, allocations: 73.69 kB / 475.4 MB, free: 6.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0418/0.5016, allocations: 15.89 MB / 491.3 MB, free: 6.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.658e-06/0.5017, allocations: 0 / 491.3 MB, free: 6.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.901e-05/0.5018, allocations: 19.94 kB / 491.3 MB, free: 6.41 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001782/0.5035, allocations: 1.05 MB / 492.4 MB, free: 5.297 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.5036, allocations: 8.031 kB / 492.4 MB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.5038, allocations: 115.7 kB / 492.5 MB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.504, allocations: 106.8 kB / 492.6 MB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008174/0.5048, allocations: 0.5155 MB / 493.1 MB, free: 4.504 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.505, allocations: 150.3 kB / 493.2 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.5051, allocations: 60.34 kB / 493.3 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.5063, allocations: 0.8174 MB / 494.1 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.5064, allocations: 0 / 494.1 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/0.5064, allocations: 32 kB / 494.1 MB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.5064, allocations: 12 kB / 494.2 MB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008721/0.5073, allocations: 0.5011 MB / 494.7 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.5113, allocations: 2.135 MB / 496.8 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.5131, allocations: 0.9085 MB / 497.7 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005504/0.5137, allocations: 343.2 kB / 498 MB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.636e-05/0.5137, allocations: 12.78 kB / 498 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.5138, allocations: 43.84 kB / 498.1 MB, free: 15.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 3.136e-06/0.5138, allocations: 0 / 498.1 MB, free: 15.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002301/0.5161, allocations: 0.889 MB / 499 MB, free: 14.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003486/0.5165, allocations: 0.8236 MB / 499.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007601/0.5172, allocations: 0.5622 MB / 0.4886 GB, free: 12.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.145e-05/0.5173, allocations: 41.7 kB / 0.4887 GB, free: 12.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.5176, allocations: 344.9 kB / 0.489 GB, free: 12.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.5178, allocations: 248.2 kB / 0.4892 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.5179, allocations: 16 kB / 0.4893 GB, free: 12.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.5181, allocations: 390.7 kB / 0.4896 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.5185, allocations: 217.6 kB / 0.4898 GB, free: 11.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.5191, allocations: 497.7 kB / 0.4903 GB, free: 10.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.5197, allocations: 347.6 kB / 0.4906 GB, free: 10.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.5197, allocations: 0 / 0.4906 GB, free: 10.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002241/0.5219, allocations: 1.035 MB / 0.4917 GB, free: 9.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.818e-05/0.522, allocations: 86.52 kB / 0.4917 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.522, allocations: 0 / 0.4917 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006683/0.5227, allocations: 223.3 kB / 0.492 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.5233, allocations: 131.8 kB / 0.4921 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006643/0.53, allocations: 6.238 MB / 0.4982 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009212/0.5309, allocations: 103.3 kB / 0.4983 GB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/0.531, allocations: 31.98 kB / 0.4983 GB, free: 2.074 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 64 * 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 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000218/0.5312, allocations: 149.8 kB / 0.4984 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.5314, allocations: 91.02 kB / 0.4985 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.5316, allocations: 92.06 kB / 0.4986 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.5316, allocations: 11.94 kB / 0.4986 GB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.5317, allocations: 3.984 kB / 0.4986 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001956/0.5336, allocations: 1.162 MB / 0.4998 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/0.5371, allocations: 1.867 MB / 0.5016 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5371, allocations: 0 / 0.5016 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/0.5377, allocations: 131.8 kB / 0.5017 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/0.5382, allocations: 170.5 kB / 0.5019 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.5382, allocations: 16 kB / 0.5019 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00503/0.5433, allocations: 4.817 MB / 0.5066 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5433, allocations: 4.203 kB / 0.5066 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.5458, allocations: 1.296 MB / 0.5079 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004359/0.5463, allocations: 235.9 kB / 0.5081 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.5464, allocations: 20 kB / 0.5081 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/0.5469, allocations: 39.98 kB / 0.5081 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.5471, allocations: 68.64 kB / 0.5082 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.5471, allocations: 19.98 kB / 0.5082 GB, free: 7.223 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005598/0.5477, allocations: 443.2 kB / 0.5087 GB, free: 6.797 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5477, allocations: 0 / 0.5087 GB, free: 6.797 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008947/0.5486, allocations: 291.7 kB / 0.5089 GB, free: 6.512 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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.002885/0.5515, allocations: 2.029 MB / 0.5109 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.5534, allocations: 1.224 MB / 0.5121 GB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.5535, allocations: 8.125 kB / 0.5121 GB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.5546, allocations: 0.7189 MB / 0.5128 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.5556, allocations: 206 kB / 0.513 GB, free: 2.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.5584, allocations: 1.409 MB / 0.5144 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.5589, allocations: 0.9636 MB / 0.5153 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003995/0.5593, allocations: 94.23 kB / 0.5154 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.5597, allocations: 299.3 kB / 0.5157 GB, free: 15.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.213e-06/0.5597, allocations: 0 / 0.5157 GB, free: 15.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04415/0.6039, allocations: 22.48 MB / 0.5377 GB, free: 9.152 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.6042, allocations: 191.4 kB / 0.5378 GB, free: 8.922 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/3.477, allocations: 4.062 kB / 0.5378 GB, free: 8.918 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat