Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",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.001161/0.001161, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.462/1.462, allocations: 205.4 MB / 223.1 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.0008702/0.0008703, allocations: 93.16 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002707, allocations: 4 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2439, allocations: 47.56 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09519/0.3391, allocations: 79.63 MB / 455.5 MB, free: 1.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.3394, allocations: 75.95 kB / 455.6 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02021/0.3597, allocations: 7.975 MB / 463.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.3597, allocations: 0 / 463.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.232e-05/0.3598, allocations: 11.98 kB / 463.6 MB, free: 8.832 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001247/0.361, allocations: 0.6586 MB / 464.3 MB, free: 8.125 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3611, allocations: 12.03 kB / 464.3 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.3612, allocations: 78.72 kB / 464.3 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.3614, allocations: 63.19 kB / 464.4 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.362, allocations: 351.7 kB / 464.7 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.362, allocations: 32.95 kB / 464.8 MB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.3621, allocations: 44 kB / 464.8 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007809/0.3629, allocations: 488.2 kB / 465.3 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.3629, allocations: 3.938 kB / 465.3 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.363, allocations: 24 kB / 465.3 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.363, allocations: 8 kB / 465.3 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000553/0.3636, allocations: 250.2 kB / 465.6 MB, free: 6.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.366, allocations: 2.8 MB / 468.4 MB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.3664, allocations: 170.7 kB / 468.5 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.3666, allocations: 85.11 kB / 468.6 MB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.3667, allocations: 34.52 kB / 468.7 MB, free: 3.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.244e-06/0.3667, allocations: 0 / 468.7 MB, free: 3.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001367/0.368, allocations: 0.6278 MB / 469.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.3681, allocations: 51.41 kB / 469.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.3684, allocations: 300.8 kB / 469.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.3685, allocations: 33.64 kB / 469.7 MB, free: 2.328 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.3687, allocations: 298.9 kB / 470 MB, free: 2.031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/0.3688, allocations: 75.02 kB / 470 MB, free: 1.957 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.3688, allocations: 4 kB / 470 MB, free: 1.953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3689, allocations: 354.8 kB / 470.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.3691, allocations: 67.92 kB / 470.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.3693, allocations: 218.2 kB / 470.7 MB, free: 1.246 MB / 346.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.37, allocations: 279.2 kB / 470.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.37, allocations: 0 / 470.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005877/0.3706, allocations: 356.3 kB / 471.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3706, allocations: 8 kB / 471.3 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.3706, allocations: 11.98 kB / 471.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.3708, allocations: 36.84 kB / 471.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.371, allocations: 71.89 kB / 471.4 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.3723, allocations: 1.476 MB / 472.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.3725, allocations: 24.05 kB / 472.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.3726, allocations: 20 kB / 472.9 MB, free: 14.82 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * 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 prepare postOptimizeDAE: time 0.0002419/0.3728, allocations: 170.9 kB / 473.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.3729, allocations: 31.62 kB / 473.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.373, allocations: 43.53 kB / 473.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.373, allocations: 4 kB / 473.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.373, allocations: 0 / 473.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.373, allocations: 3.938 kB / 473.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.374, allocations: 0.6685 MB / 473.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.374, allocations: 0 / 473.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.3742, allocations: 35.98 kB / 473.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.205e-05/0.3743, allocations: 24.84 kB / 473.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3744, allocations: 11.97 kB / 473.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.3754, allocations: 1.316 MB / 475.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3754, allocations: 3.938 kB / 475.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.376, allocations: 380.1 kB / 475.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.241e-05/0.3761, allocations: 108.7 kB / 475.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.3761, allocations: 7.953 kB / 475.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3763, allocations: 12 kB / 475.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.3764, allocations: 15.92 kB / 475.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3764, allocations: 7.984 kB / 475.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002494/0.3766, allocations: 235.2 kB / 476 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3766, allocations: 0 / 476 MB, free: 11.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004497/0.3771, allocations: 68 kB / 476 MB, free: 11.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.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 (15): * Single equations (assignments): 14 * 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.0009383/0.378, allocations: 0.979 MB / 477 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006863/0.3787, allocations: 314.8 kB / 477.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3788, allocations: 0 / 477.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.379, allocations: 194.6 kB / 477.5 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.3794, allocations: 37.33 kB / 477.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.3842, allocations: 5.567 MB / 483.1 MB, free: 4.152 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.3847, allocations: 0.8265 MB / 484 MB, free: 3.297 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.3849, allocations: 35.28 kB / 484 MB, free: 3.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.3851, allocations: 163.3 kB / 484.1 MB, free: 3.102 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3851, allocations: 0 / 484.1 MB, free: 3.102 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.4049, allocations: 6.04 MB / 490.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.4052, allocations: 206.6 kB / 490.4 MB, free: 12.81 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.423, allocations: 0 / 490.4 MB, free: 12.81 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat