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.001093/0.001093, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.554/1.554, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0007642/0.0007643, allocations: 82.66 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.611e-05, allocations: 7.984 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1139, allocations: 47.57 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3148/0.4288, allocations: 79.53 MB / 449.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/0.429, allocations: 75.95 kB / 449.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01836/0.4474, allocations: 7.958 MB / 457.7 MB, free: 6.934 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4474, allocations: 0 / 457.7 MB, free: 6.934 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.4475, allocations: 8 kB / 457.7 MB, free: 6.926 MB / 330.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.0007184/0.4482, allocations: 0.6149 MB / 458.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.4482, allocations: 12.03 kB / 458.3 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.134e-05/0.4483, allocations: 85.45 kB / 458.4 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.4484, allocations: 55.34 kB / 458.4 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.4489, allocations: 359.2 kB / 458.8 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.4489, allocations: 32.64 kB / 458.8 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.4489, allocations: 39.28 kB / 458.9 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006486/0.4496, allocations: 476.6 kB / 459.3 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.4496, allocations: 7.922 kB / 459.3 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.4497, allocations: 20 kB / 459.4 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.4497, allocations: 12 kB / 459.4 MB, free: 5.223 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.4501, allocations: 222.8 kB / 459.6 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.4521, allocations: 2.801 MB / 462.4 MB, free: 2.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.4525, allocations: 151.5 kB / 462.5 MB, free: 1.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.378e-05/0.4526, allocations: 65.14 kB / 462.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.4527, allocations: 92.98 kB / 462.7 MB, free: 1.734 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.4527, allocations: 30.56 kB / 462.7 MB, free: 1.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.4527, allocations: 4 kB / 462.7 MB, free: 1.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001004/0.4538, allocations: 0.5552 MB / 463.3 MB, free: 1.082 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.4538, allocations: 57.48 kB / 463.3 MB, free: 1.016 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.4541, allocations: 294.8 kB / 463.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.4541, allocations: 33.7 kB / 463.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.4543, allocations: 302.9 kB / 464 MB, free: 392 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.4544, allocations: 63.11 kB / 464 MB, free: 328 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/0.4544, allocations: 15.94 kB / 464 MB, free: 312 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4545, allocations: 350.8 kB / 464.4 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.4546, allocations: 59.95 kB / 464.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.4548, allocations: 203.9 kB / 464.6 MB, free: 15.62 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.0005339/0.4554, allocations: 266.6 kB / 464.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4554, allocations: 0 / 464.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004839/0.4559, allocations: 338.8 kB / 465.2 MB, free: 15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4559, allocations: 11.94 kB / 465.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.4559, allocations: 4 kB / 465.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/0.456, allocations: 36.84 kB / 465.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.4563, allocations: 71.91 kB / 465.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.4573, allocations: 1.472 MB / 466.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.4575, allocations: 19.97 kB / 466.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.4576, allocations: 27.92 kB / 466.9 MB, free: 13.23 MB / 346.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 9.457e-05/0.4577, allocations: 125.4 kB / 467 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.4577, allocations: 31.62 kB / 467 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.714e-05/0.4578, allocations: 43.33 kB / 467.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4578, allocations: 0 / 467.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.4578, allocations: 0 / 467.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.4578, allocations: 3.984 kB / 467.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/0.4586, allocations: 0.6487 MB / 467.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4586, allocations: 0 / 467.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.4588, allocations: 35.97 kB / 467.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.941e-05/0.4588, allocations: 24.86 kB / 467.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.4589, allocations: 0 / 467.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008131/0.4597, allocations: 1.328 MB / 469.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4597, allocations: 0 / 469.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.4601, allocations: 362.3 kB / 469.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.4602, allocations: 104.6 kB / 469.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.4602, allocations: 7.953 kB / 469.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.4603, allocations: 12.03 kB / 469.6 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.4604, allocations: 11.98 kB / 469.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4604, allocations: 12 kB / 469.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000195/0.4606, allocations: 237.2 kB / 469.8 MB, free: 10 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4606, allocations: 0 / 469.8 MB, free: 10 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003537/0.461, allocations: 68 kB / 469.9 MB, free: 9.938 MB / 346.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.0006815/0.4617, allocations: 0.9714 MB / 470.9 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004349/0.4621, allocations: 299.4 kB / 471.2 MB, free: 8.625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4621, allocations: 0 / 471.2 MB, free: 8.625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.4623, allocations: 178.7 kB / 471.3 MB, free: 8.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.4625, allocations: 29.55 kB / 471.4 MB, free: 8.406 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.4637, allocations: 0.7188 MB / 472.1 MB, free: 7.648 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.4641, allocations: 0.8265 MB / 472.9 MB, free: 6.793 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.4642, allocations: 39.27 kB / 472.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.4644, allocations: 155.4 kB / 473.1 MB, free: 6.598 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4644, allocations: 0 / 473.1 MB, free: 6.598 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.4827, allocations: 6.003 MB / 479.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.4829, allocations: 180.9 kB / 479.3 MB, free: 376 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.362, allocations: 4 kB / 479.3 MB, free: 372 kB / 346.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