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.001033/0.001033, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.2 MB / 245 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009903/0.0009902, allocations: 110.9 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002491/0.0002492, allocations: 11.98 kB / 358 MB, free: 9.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.239, allocations: 51.47 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0947/0.3337, allocations: 80.93 MB / 490.4 MB, free: 9.633 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.334, allocations: 71.97 kB / 490.5 MB, free: 9.562 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01842/0.3525, allocations: 8.014 MB / 498.5 MB, free: 1.434 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3525, allocations: 0 / 498.5 MB, free: 1.434 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.884e-05/0.3525, allocations: 8 kB / 498.5 MB, free: 1.426 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.0008318/0.3534, allocations: 0.6547 MB / 499.2 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3534, allocations: 12.03 kB / 499.2 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.3536, allocations: 82.52 kB / 499.3 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.3538, allocations: 67.25 kB / 499.3 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.3542, allocations: 363.8 kB / 499.7 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.3543, allocations: 32.95 kB / 499.7 MB, free: 128 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/0.3543, allocations: 40 kB / 499.8 MB, free: 88 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.355, allocations: 491.3 kB / 0.4885 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.3551, allocations: 3.938 kB / 0.4885 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.3551, allocations: 20 kB / 0.4885 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.3551, allocations: 8 kB / 0.4885 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.3556, allocations: 250.2 kB / 0.4888 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.3576, allocations: 2.797 MB / 0.4915 GB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.358, allocations: 162.7 kB / 0.4917 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.3582, allocations: 85.11 kB / 0.4917 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3582, allocations: 42.45 kB / 0.4918 GB, free: 11.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.3582, allocations: 0 / 0.4918 GB, free: 11.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001213/0.3595, allocations: 0.6292 MB / 0.4924 GB, free: 11.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3595, allocations: 59.34 kB / 0.4925 GB, free: 11.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.3598, allocations: 300.8 kB / 0.4927 GB, free: 10.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.3598, allocations: 25.7 kB / 0.4928 GB, free: 10.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.36, allocations: 302.9 kB / 0.4931 GB, free: 10.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.3601, allocations: 63.09 kB / 0.4931 GB, free: 10.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.3601, allocations: 8 kB / 0.4931 GB, free: 10.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3602, allocations: 354.8 kB / 0.4935 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.3603, allocations: 67.97 kB / 0.4935 GB, free: 10.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.3605, allocations: 215.6 kB / 0.4937 GB, free: 9.832 MB / 378.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.0005791/0.3611, allocations: 285.8 kB / 0.494 GB, free: 9.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3611, allocations: 0 / 0.494 GB, free: 9.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005352/0.3617, allocations: 356 kB / 0.4943 GB, free: 9.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3617, allocations: 8 kB / 0.4944 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3617, allocations: 11.98 kB / 0.4944 GB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.3619, allocations: 32.84 kB / 0.4944 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.3621, allocations: 75.84 kB / 0.4945 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.3632, allocations: 1.471 MB / 0.4959 GB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.3634, allocations: 23.92 kB / 0.4959 GB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.3635, allocations: 24.06 kB / 0.496 GB, free: 7.398 MB / 378.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.0002136/0.3637, allocations: 165.7 kB / 0.4961 GB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.3637, allocations: 35.61 kB / 0.4961 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.3638, allocations: 39.55 kB / 0.4962 GB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3638, allocations: 4.281 kB / 0.4962 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3638, allocations: 0 / 0.4962 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3638, allocations: 3.984 kB / 0.4962 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008282/0.3647, allocations: 0.6715 MB / 0.4968 GB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3647, allocations: 0 / 0.4968 GB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.3649, allocations: 31.98 kB / 0.4969 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.022e-05/0.3649, allocations: 24.84 kB / 0.4969 GB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.365, allocations: 8.031 kB / 0.4969 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007803/0.3657, allocations: 1.316 MB / 0.4982 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.3658, allocations: 0 / 0.4982 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.3662, allocations: 393 kB / 0.4986 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.3663, allocations: 108.7 kB / 0.4987 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.3663, allocations: 3.953 kB / 0.4987 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.3664, allocations: 20 kB / 0.4987 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.3665, allocations: 11.97 kB / 0.4987 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.3665, allocations: 8 kB / 0.4987 GB, free: 4.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001891/0.3667, allocations: 231.2 kB / 0.4989 GB, free: 4.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3667, allocations: 3.938 kB / 0.4989 GB, free: 4.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003841/0.3671, allocations: 68 kB / 0.499 GB, free: 4.02 MB / 378.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.0007154/0.3678, allocations: 0.9937 MB / 0.5 GB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000487/0.3683, allocations: 306.8 kB / 0.5003 GB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3683, allocations: 0 / 0.5003 GB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.3685, allocations: 197.1 kB / 0.5005 GB, free: 2.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.3688, allocations: 29.64 kB / 0.5005 GB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1776/0.5464, allocations: 5.559 MB / 0.5059 GB, free: 92.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.5467, allocations: 0.8291 MB / 0.5067 GB, free: 91.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000167/0.5469, allocations: 36.33 kB / 0.5068 GB, free: 91.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.5471, allocations: 160 kB / 0.5069 GB, free: 91.64 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5471, allocations: 4.062 kB / 0.5069 GB, free: 91.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.5662, allocations: 6.054 MB / 0.5128 GB, free: 91.3 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001192/0.5664, allocations: 211.6 kB / 0.513 GB, free: 91.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.548, allocations: 3.938 kB / 0.513 GB, free: 91.05 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