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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001233/0.001234, allocations: 109 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.77 kB / 306.3 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09258/0.09381, allocations: 50.53 MB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004121/0.09797, allocations: 3.099 MB / 360 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.09975, allocations: 1.025 MB / 361 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.1001, allocations: 11.94 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1004, allocations: 71.38 kB / 361.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.1006, allocations: 75.33 kB / 361.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.1011, allocations: 195.8 kB / 361.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005678/0.1017, allocations: 0.5097 MB / 361.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.1021, allocations: 210.2 kB / 362.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.1023, allocations: 155.3 kB / 362.2 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1025, allocations: 174.9 kB / 362.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.1026, allocations: 24 kB / 362.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1027, allocations: 35.98 kB / 362.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.717e-05/0.1028, allocations: 75.58 kB / 362.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.103, allocations: 218.7 kB / 362.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.1034, allocations: 0.5062 MB / 363.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1035, allocations: 4 kB / 363.2 MB, free: 7.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1035, allocations: 0 / 363.2 MB, free: 7.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.1035, allocations: 0 / 363.2 MB, free: 7.793 MB / 302.1 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.000932/0.1044, allocations: 0.7543 MB / 364 MB, free: 6.992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1045, allocations: 8.031 kB / 364 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.112e-05/0.1046, allocations: 78.7 kB / 364.1 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.1047, allocations: 71.83 kB / 364.2 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.1052, allocations: 402.4 kB / 364.5 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.1053, allocations: 32.94 kB / 364.6 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.1053, allocations: 47.89 kB / 364.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.106, allocations: 491.4 kB / 365.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.106, allocations: 7.938 kB / 365.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.1061, allocations: 16 kB / 365.1 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.1061, allocations: 15.94 kB / 365.1 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.1066, allocations: 254.1 kB / 365.4 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.1086, allocations: 2.811 MB / 368.2 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.109, allocations: 162.7 kB / 368.4 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.1092, allocations: 72.83 kB / 368.4 MB, free: 2.273 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.1094, allocations: 81.11 kB / 368.5 MB, free: 2.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1094, allocations: 42.5 kB / 368.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.1094, allocations: 0 / 368.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001241/0.1106, allocations: 0.6323 MB / 369.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1107, allocations: 55.41 kB / 369.2 MB, free: 1.371 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.111, allocations: 341.6 kB / 369.6 MB, free: 1.023 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1111, allocations: 29.7 kB / 369.6 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.1113, allocations: 306.9 kB / 369.9 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.1113, allocations: 63.11 kB / 370 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/0.1114, allocations: 69.56 kB / 370 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1115, allocations: 354.7 kB / 370.4 MB, free: 196 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1117, allocations: 63.97 kB / 370.4 MB, free: 132 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.148/0.2597, allocations: 210.2 kB / 370.6 MB, free: 19.92 MB / 302.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009815/0.2607, allocations: 0.5157 MB / 371.2 MB, free: 19.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2607, allocations: 2.656 kB / 371.2 MB, free: 19.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005697/0.2613, allocations: 359.8 kB / 371.5 MB, free: 19.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2613, allocations: 7.062 kB / 371.5 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2614, allocations: 5.656 kB / 371.5 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/0.2615, allocations: 39.58 kB / 371.6 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.2618, allocations: 77.2 kB / 371.6 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009112/0.2627, allocations: 1.462 MB / 373.1 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.2629, allocations: 25.66 kB / 373.1 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.2629, allocations: 17.28 kB / 373.1 MB, free: 18.21 MB / 302.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.2631, allocations: 169.2 kB / 373.3 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.2632, allocations: 35.8 kB / 373.3 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.743e-05/0.2632, allocations: 43.83 kB / 373.4 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2633, allocations: 4.469 kB / 373.4 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2633, allocations: 1.125 kB / 373.4 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2633, allocations: 2.734 kB / 373.4 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008302/0.2641, allocations: 0.7141 MB / 374.1 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2641, allocations: 0.9688 kB / 374.1 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.2643, allocations: 37.22 kB / 374.1 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.678e-05/0.2644, allocations: 23.28 kB / 374.2 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.2644, allocations: 5.656 kB / 374.2 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005801/0.265, allocations: 1.337 MB / 375.5 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.265, allocations: 1.031 kB / 375.5 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.2654, allocations: 363.4 kB / 375.9 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.2655, allocations: 107 kB / 376 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.2655, allocations: 1.875 kB / 376 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.2657, allocations: 17.14 kB / 376 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.2657, allocations: 11.02 kB / 376 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.2657, allocations: 7.891 kB / 376 MB, free: 16.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002297/0.266, allocations: 234 kB / 376.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.266, allocations: 0 / 376.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004282/0.2664, allocations: 67.19 kB / 376.3 MB, free: 15.9 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006329/0.2671, allocations: 0.9065 MB / 377.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.2676, allocations: 307.2 kB / 377.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2676, allocations: 0 / 377.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.2678, allocations: 185.5 kB / 377.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.2681, allocations: 35.48 kB / 377.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.2715, allocations: 3.552 MB / 381.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.2717, allocations: 0.814 MB / 382.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.2719, allocations: 37.92 kB / 382.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.272, allocations: 160.7 kB / 382.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.272, allocations: 0 / 382.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.2897, allocations: 5.88 MB / 388.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.2899, allocations: 230.1 kB / 388.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.084, allocations: 1.156 kB / 388.4 MB, free: 10.18 MB / 302.1 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/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