Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",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.0009825/0.0009825, 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.508/1.508, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.001128/0.001128, allocations: 93.23 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.647e-05/3.671e-05, allocations: 8 kB / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 50.42 MB / 394.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.452, allocations: 80.05 MB / 474.4 MB, free: 7.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.4522, allocations: 63.97 kB / 474.5 MB, free: 7.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0197/0.4719, allocations: 7.869 MB / 482.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.472, allocations: 0 / 482.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.862e-05/0.472, allocations: 12 kB / 482.3 MB, free: 15.36 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0008303/0.4729, allocations: 0.62 MB / 483 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.4729, allocations: 8.031 kB / 483 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.039e-05/0.473, allocations: 82.53 kB / 483 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.466e-05/0.4731, allocations: 55.34 kB / 483.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005185/0.4736, allocations: 363.4 kB / 483.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.4737, allocations: 29 kB / 483.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.4737, allocations: 43.91 kB / 483.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.4744, allocations: 476 kB / 484 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.4745, allocations: 3.938 kB / 484 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.4745, allocations: 23.95 kB / 484 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.4745, allocations: 16 kB / 484 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.4749, allocations: 226.8 kB / 484.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.4772, allocations: 2.805 MB / 487.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.4776, allocations: 154.6 kB / 487.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.4777, allocations: 68.89 kB / 487.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.4778, allocations: 81.11 kB / 487.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.4778, allocations: 30.56 kB / 487.4 MB, free: 9.957 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.776e-06/0.4779, allocations: 0 / 487.4 MB, free: 9.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001018/0.4789, allocations: 0.5612 MB / 488 MB, free: 9.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.4789, allocations: 55.41 kB / 488 MB, free: 9.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.4792, allocations: 302.8 kB / 488.3 MB, free: 8.973 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.4793, allocations: 33.7 kB / 488.3 MB, free: 8.934 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.4794, allocations: 291 kB / 488.6 MB, free: 8.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.4795, allocations: 71.08 kB / 488.7 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.4795, allocations: 8 kB / 488.7 MB, free: 8.566 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4797, allocations: 346.8 kB / 489 MB, free: 8.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.4798, allocations: 56 kB / 489.1 MB, free: 8.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.48, allocations: 211.8 kB / 489.3 MB, free: 7.883 MB / 362.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.000554/0.4805, allocations: 261.8 kB / 489.6 MB, free: 7.613 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4806, allocations: 0 / 489.6 MB, free: 7.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005138/0.4811, allocations: 345.9 kB / 489.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4811, allocations: 8 kB / 489.9 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4811, allocations: 4.688 kB / 489.9 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/0.4812, allocations: 40.84 kB / 489.9 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.4815, allocations: 75.84 kB / 490 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.4826, allocations: 1.452 MB / 491.5 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.4828, allocations: 31.84 kB / 491.5 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.4829, allocations: 16 kB / 491.5 MB, free: 5.504 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 () * 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.0001312/0.483, allocations: 132.8 kB / 491.6 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.4831, allocations: 31.62 kB / 491.7 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.396e-05/0.4832, allocations: 47.42 kB / 491.7 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4832, allocations: 0 / 491.7 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4832, allocations: 0 / 491.7 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4832, allocations: 0 / 491.7 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008801/0.4841, allocations: 0.6404 MB / 492.4 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4841, allocations: 7.938 kB / 492.4 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.4843, allocations: 39.95 kB / 492.4 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-05/0.4844, allocations: 28.84 kB / 492.4 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.4844, allocations: 3.938 kB / 492.4 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009005/0.4853, allocations: 1.316 MB / 493.8 MB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4853, allocations: 0 / 493.8 MB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.4857, allocations: 358.4 kB / 494.1 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.4858, allocations: 104.9 kB / 494.2 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.4859, allocations: 4 kB / 494.2 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.486, allocations: 19.95 kB / 494.2 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.4861, allocations: 15.94 kB / 494.2 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.4861, allocations: 11.98 kB / 494.3 MB, free: 2.504 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002137/0.4863, allocations: 225.2 kB / 494.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4863, allocations: 0 / 494.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.4867, allocations: 68 kB / 494.5 MB, free: 2.219 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 () * 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.00074/0.4874, allocations: 0.9652 MB / 495.5 MB, free: 1.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004682/0.4879, allocations: 302.8 kB / 495.8 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4879, allocations: 0 / 495.8 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.4881, allocations: 174.6 kB / 496 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.4884, allocations: 35.58 kB / 496 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.4897, allocations: 0.7139 MB / 496.7 MB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.4901, allocations: 0.8265 MB / 497.6 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.4902, allocations: 39.27 kB / 497.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.4904, allocations: 151.4 kB / 497.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4904, allocations: 0 / 497.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.5109, allocations: 6.001 MB / 0.4919 GB, free: 9.023 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.5112, allocations: 182.8 kB / 0.4921 GB, free: 8.797 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.766, allocations: 0 / 0.4921 GB, free: 8.797 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat