Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",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.001164/0.001164, allocations: 175.4 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.645/1.645, allocations: 221.3 MB / 235.5 MB, free: 2.953 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.0009089/0.000909, allocations: 92.59 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.181e-05, allocations: 12 kB / 343.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 50.41 MB / 394.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3303/0.437, allocations: 81.15 MB / 475.5 MB, free: 6.301 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.4374, allocations: 71.95 kB / 475.6 MB, free: 6.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05116/0.4885, allocations: 19.03 MB / 494.6 MB, free: 3.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4886, allocations: 0 / 494.6 MB, free: 3.059 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.476e-05/0.4886, allocations: 20 kB / 494.6 MB, free: 3.039 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002104/0.4908, allocations: 1.163 MB / 495.8 MB, free: 1.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.4908, allocations: 8.031 kB / 495.8 MB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002144/0.491, allocations: 120.4 kB / 495.9 MB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/0.4913, allocations: 122.7 kB / 496 MB, free: 1.555 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.4924, allocations: 0.5907 MB / 496.6 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/0.4926, allocations: 159.8 kB / 496.8 MB, free: 0.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.4928, allocations: 76 kB / 496.9 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.4943, allocations: 0.9277 MB / 497.8 MB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.4943, allocations: 0 / 497.8 MB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.606e-05/0.4944, allocations: 39.94 kB / 497.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.4944, allocations: 20 kB / 497.8 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.4955, allocations: 0.5663 MB / 498.4 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004688/0.5002, allocations: 2.592 MB / 0.4893 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.5029, allocations: 0.8848 MB / 0.4901 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005918/0.5035, allocations: 323.2 kB / 0.4904 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.811e-05/0.5036, allocations: 20.75 kB / 0.4904 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/0.5036, allocations: 55.33 kB / 0.4905 GB, free: 10.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 3.216e-06/0.5037, allocations: 0 / 0.4905 GB, free: 10.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.001672/0.5053, allocations: 0.7219 MB / 0.4912 GB, free: 10.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005198/0.5059, allocations: 0.9529 MB / 0.4921 GB, free: 9.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.507, allocations: 0.6842 MB / 0.4928 GB, free: 8.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.49e-05/0.5071, allocations: 45.7 kB / 0.4928 GB, free: 8.297 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.5074, allocations: 412.5 kB / 0.4932 GB, free: 7.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.5077, allocations: 262 kB / 0.4935 GB, free: 7.633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.5078, allocations: 15.94 kB / 0.4935 GB, free: 7.617 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.5079, allocations: 337.9 kB / 0.4938 GB, free: 7.281 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.5084, allocations: 225.6 kB / 0.494 GB, free: 7.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006925/0.5091, allocations: 0.5544 MB / 0.4946 GB, free: 6.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005451/0.5096, allocations: 363.6 kB / 0.4949 GB, free: 6.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5096, allocations: 0 / 0.4949 GB, free: 6.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001702/0.5113, allocations: 0.9339 MB / 0.4958 GB, free: 5.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.018e-05/0.5114, allocations: 89.11 kB / 0.4959 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.5115, allocations: 0 / 0.4959 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/0.5121, allocations: 176.1 kB / 0.4961 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.5128, allocations: 159.8 kB / 0.4962 GB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006624/0.5195, allocations: 6.788 MB / 0.5029 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.5206, allocations: 115 kB / 0.503 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.5207, allocations: 31.94 kB / 0.503 GB, free: 12.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002329/0.5209, allocations: 164.9 kB / 0.5032 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.5211, allocations: 102.9 kB / 0.5033 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.5214, allocations: 105.6 kB / 0.5034 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.5214, allocations: 11.95 kB / 0.5034 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.5214, allocations: 0 / 0.5034 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/0.5226, allocations: 0.9223 MB / 0.5043 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/0.5252, allocations: 1.723 MB / 0.506 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5253, allocations: 0 / 0.506 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/0.5261, allocations: 171.8 kB / 0.5061 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.5262, allocations: 20.84 kB / 0.5061 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.5262, allocations: 19.98 kB / 0.5062 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.5273, allocations: 1.312 MB / 0.5074 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5273, allocations: 0 / 0.5074 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.5289, allocations: 1.018 MB / 0.5084 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005032/0.5294, allocations: 255.7 kB / 0.5087 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.5296, allocations: 23.95 kB / 0.5087 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.5301, allocations: 44.05 kB / 0.5088 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.462e-05/0.5302, allocations: 44.7 kB / 0.5088 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.5302, allocations: 24 kB / 0.5088 GB, free: 6.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007133/0.531, allocations: 0.5265 MB / 0.5093 GB, free: 6.145 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.531, allocations: 0 / 0.5093 GB, free: 6.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000808/0.5318, allocations: 315.5 kB / 0.5096 GB, free: 5.836 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002028/0.5338, allocations: 1.602 MB / 0.5112 GB, free: 4.203 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002412/0.5362, allocations: 1.359 MB / 0.5125 GB, free: 2.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.5363, allocations: 4 kB / 0.5125 GB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005876/0.5369, allocations: 403.2 kB / 0.5129 GB, free: 2.332 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.5381, allocations: 257 kB / 0.5132 GB, free: 2.078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.5412, allocations: 1.448 MB / 0.5146 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.5418, allocations: 1.007 MB / 0.5156 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005015/0.5423, allocations: 115.3 kB / 0.5157 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.5428, allocations: 359.3 kB / 0.516 GB, free: 15.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.804e-06/0.5428, allocations: 3.938 kB / 0.516 GB, free: 15.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04869/0.5915, allocations: 23.99 MB / 0.5394 GB, free: 7.488 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.5918, allocations: 192.5 kB / 0.5396 GB, free: 7.258 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/3.64, allocations: 3.938 kB / 0.5396 GB, free: 7.254 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat