Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",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.001539/0.001544, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001145/0.001145, allocations: 88.44 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003854, allocations: 8 kB / 327.1 MB, free: 120 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3708, allocations: 47.58 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.5057, allocations: 82.02 MB / 456.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.506, allocations: 75.97 kB / 456.7 MB, free: 14.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09006/0.5961, allocations: 19.42 MB / 476.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.5962, allocations: 0 / 476.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001399/0.5964, allocations: 20 kB / 476.2 MB, free: 11.07 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.007592/0.604, allocations: 1.298 MB / 477.5 MB, free: 9.703 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0007899/0.6052, allocations: 12.03 kB / 477.5 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009913/0.6063, allocations: 132.3 kB / 477.6 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000754/0.6071, allocations: 130.6 kB / 477.7 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/0.6108, allocations: 0.5954 MB / 478.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007147/0.6115, allocations: 155.1 kB / 478.5 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004479/0.612, allocations: 75.84 kB / 478.5 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00473/0.6168, allocations: 0.9853 MB / 479.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.6169, allocations: 0 / 479.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.617, allocations: 40 kB / 479.6 MB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.6171, allocations: 19.98 kB / 479.6 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003374/0.6204, allocations: 0.6559 MB / 480.2 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.6349, allocations: 2.594 MB / 482.8 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009426/0.6444, allocations: 0.9486 MB / 483.8 MB, free: 3.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.6446, allocations: 16.64 kB / 483.8 MB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.956e-05/0.6447, allocations: 47.22 kB / 483.9 MB, free: 2.953 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 6.042e-06/0.6447, allocations: 0 / 483.9 MB, free: 2.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.006436/0.6512, allocations: 1.474 MB / 485.3 MB, free: 1.367 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005317/0.6518, allocations: 0.9609 MB / 486.3 MB, free: 184 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.6534, allocations: 0.6919 MB / 487 MB, free: 15.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000237/0.6537, allocations: 45.7 kB / 487 MB, free: 15.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004666/0.6542, allocations: 415 kB / 487.4 MB, free: 15.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003736/0.6545, allocations: 260.2 kB / 487.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-05/0.6546, allocations: 16 kB / 487.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.6548, allocations: 346.8 kB / 488 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.6559, allocations: 277.8 kB / 488.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.6575, allocations: 0.588 MB / 488.9 MB, free: 13.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.6587, allocations: 412.8 kB / 489.3 MB, free: 13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.6588, allocations: 0 / 489.3 MB, free: 13 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003054/0.6618, allocations: 0.9321 MB / 490.2 MB, free: 12.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.094e-05/0.662, allocations: 89.09 kB / 490.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.662, allocations: 0 / 490.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/0.6625, allocations: 136.2 kB / 490.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.664, allocations: 163.7 kB / 490.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008616/0.6727, allocations: 6.972 MB / 497.6 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.6743, allocations: 119.2 kB / 497.7 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.6744, allocations: 28 kB / 497.7 MB, free: 3.828 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 73 * 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%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006811/0.6751, allocations: 241.7 kB / 498 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003289/0.6755, allocations: 102.9 kB / 498.1 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.6758, allocations: 105.6 kB / 498.2 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.6758, allocations: 8 kB / 498.2 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.6759, allocations: 0 / 498.2 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002668/0.6785, allocations: 1.013 MB / 499.2 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00521/0.6838, allocations: 1.801 MB / 0.4892 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.6839, allocations: 0 / 0.4892 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.6854, allocations: 167.8 kB / 0.4894 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/0.6857, allocations: 29.12 kB / 0.4894 GB, free: 176 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-05/0.6857, allocations: 12 kB / 0.4894 GB, free: 164 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2799/0.9656, allocations: 1.437 MB / 0.4909 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.9657, allocations: 4.141 kB / 0.4909 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/0.9701, allocations: 1.144 MB / 0.492 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/0.9709, allocations: 256.2 kB / 0.4922 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.9711, allocations: 25.41 kB / 0.4922 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009312/0.972, allocations: 45.16 kB / 0.4923 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.9722, allocations: 46.34 kB / 0.4923 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.9723, allocations: 19.31 kB / 0.4923 GB, free: 101.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001188/0.9735, allocations: 0.5411 MB / 0.4929 GB, free: 101.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9735, allocations: 1.375 kB / 0.4929 GB, free: 101.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001778/0.9753, allocations: 303.5 kB / 0.4932 GB, free: 101.7 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 70 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004303/0.9796, allocations: 1.73 MB / 0.4949 GB, free: 101 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003332/0.983, allocations: 1.431 MB / 0.4963 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.9831, allocations: 5.719 kB / 0.4963 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.9843, allocations: 450.7 kB / 0.4967 GB, free: 100.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.9862, allocations: 257.4 kB / 0.4969 GB, free: 100.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.9973, allocations: 3.173 MB / 0.5 GB, free: 98.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.9985, allocations: 1.003 MB / 0.501 GB, free: 97.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/0.9999, allocations: 366.6 kB / 0.5014 GB, free: 97.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.743e-06/0.9999, allocations: 4 kB / 0.5014 GB, free: 97.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.268/4.268, allocations: 26.63 MB / 0.5274 GB, free: 82.96 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat