Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00186/0.00186, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009645/0.0009645, allocations: 88 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.383e-05/3.385e-05, allocations: 0 / 350.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1458, allocations: 51.49 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4689/0.6148, allocations: 80.86 MB / 483 MB, free: 8.562 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.6152, allocations: 74.52 kB / 483.1 MB, free: 8.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01862/0.6338, allocations: 7.978 MB / 491 MB, free: 1.914 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.6339, allocations: 0 / 491 MB, free: 1.914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.553e-05/0.634, allocations: 11.98 kB / 491 MB, free: 1.902 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.0009128/0.6349, allocations: 0.6147 MB / 491.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.635, allocations: 12.03 kB / 491.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.762e-05/0.6351, allocations: 76.41 kB / 491.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.6353, allocations: 67.33 kB / 491.8 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.6359, allocations: 360 kB / 492.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.6359, allocations: 30.31 kB / 492.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.459e-05/0.636, allocations: 49.39 kB / 492.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007708/0.6368, allocations: 468.5 kB / 492.7 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.6368, allocations: 7.938 kB / 492.7 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.6369, allocations: 17.56 kB / 492.7 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.6369, allocations: 12 kB / 492.7 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.6373, allocations: 231.8 kB / 493 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002915/0.6402, allocations: 2.805 MB / 495.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/0.6408, allocations: 154.6 kB / 495.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.6409, allocations: 66.48 kB / 496 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.6411, allocations: 89.06 kB / 496.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.6412, allocations: 34.56 kB / 496.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 4.048e-05/0.6412, allocations: 0 / 496.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001284/0.6425, allocations: 0.5559 MB / 496.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.6426, allocations: 51.41 kB / 496.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.6429, allocations: 302.8 kB / 497 MB, free: 11.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.643, allocations: 33.7 kB / 497 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.6432, allocations: 294.9 kB / 497.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.6432, allocations: 71.09 kB / 497.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.6433, allocations: 7.938 kB / 497.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6434, allocations: 350.8 kB / 497.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.6435, allocations: 56.66 kB / 497.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.6438, allocations: 199.9 kB / 498 MB, free: 10.7 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.0005978/0.6444, allocations: 269.7 kB / 498.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6444, allocations: 0 / 498.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000534/0.6449, allocations: 337.5 kB / 498.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.645, allocations: 15.66 kB / 498.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.645, allocations: 8 kB / 498.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001646/0.6451, allocations: 34.56 kB / 498.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.6454, allocations: 75.91 kB / 498.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.6468, allocations: 1.456 MB / 0.4885 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.647, allocations: 31.95 kB / 0.4885 GB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.647, allocations: 16 kB / 0.4885 GB, free: 8.312 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.0001266/0.6471, allocations: 124.9 kB / 0.4886 GB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.6472, allocations: 31.62 kB / 0.4887 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.222e-05/0.6473, allocations: 43.33 kB / 0.4887 GB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6473, allocations: 4 kB / 0.4887 GB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.6473, allocations: 8.922 kB / 0.4887 GB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.6473, allocations: 0 / 0.4887 GB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000913/0.6482, allocations: 0.6404 MB / 0.4893 GB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.6482, allocations: 0 / 0.4893 GB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.6484, allocations: 35.97 kB / 0.4894 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.679e-05/0.6485, allocations: 24.89 kB / 0.4894 GB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.6485, allocations: 11.98 kB / 0.4894 GB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009414/0.6495, allocations: 1.316 MB / 0.4907 GB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6495, allocations: 0 / 0.4907 GB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.65, allocations: 358.4 kB / 0.491 GB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.6501, allocations: 111.3 kB / 0.4911 GB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.6501, allocations: 7.984 kB / 0.4911 GB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.6502, allocations: 16 kB / 0.4912 GB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.6503, allocations: 7.984 kB / 0.4912 GB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.6503, allocations: 8 kB / 0.4912 GB, free: 5.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002462/0.6506, allocations: 229.2 kB / 0.4914 GB, free: 5.098 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6506, allocations: 0 / 0.4914 GB, free: 5.098 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000426/0.651, allocations: 68 kB / 0.4915 GB, free: 5.031 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.0008221/0.6518, allocations: 0.9718 MB / 0.4924 GB, free: 4.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005157/0.6524, allocations: 303 kB / 0.4927 GB, free: 3.727 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6524, allocations: 0 / 0.4927 GB, free: 3.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.6526, allocations: 177.6 kB / 0.4929 GB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.6528, allocations: 33.56 kB / 0.4929 GB, free: 3.512 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.6543, allocations: 0.7126 MB / 0.4936 GB, free: 2.762 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.6547, allocations: 0.8289 MB / 0.4944 GB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.6549, allocations: 39.27 kB / 0.4944 GB, free: 1.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.6551, allocations: 155.4 kB / 0.4946 GB, free: 1.715 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6551, allocations: 0 / 0.4946 GB, free: 1.715 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.678, allocations: 6.004 MB / 0.5004 GB, free: 11.96 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/0.6784, allocations: 187.7 kB / 0.5006 GB, free: 11.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/2.832, allocations: 0 / 0.5006 GB, free: 11.73 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat