Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleEvaporatorWaterSteamFlueGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleEvaporatorWaterSteamFlueGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.838/0.838, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.651e-05, allocations: 4 kB / 204.9 MB, free: 9.957 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1806, allocations: 32 MB / 236.9 MB, free: 5.398 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases): time 1.639/1.82, allocations: 296.1 MB / 0.5205 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5269/2.347, allocations: 190.2 MB / 0.7062 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006312/2.348, allocations: 13.97 kB / 0.7063 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004618/2.348, allocations: 145.7 kB / 0.7064 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005762/2.349, allocations: 232.6 kB / 0.7066 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02937/2.378, allocations: 9.497 MB / 0.7159 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001246/2.379, allocations: 0.8279 MB / 0.7167 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/2.38, allocations: 338.7 kB / 0.717 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/2.38, allocations: 287.8 kB / 0.7173 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/2.38, allocations: 290.2 kB / 0.7176 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/2.38, allocations: 27.06 kB / 0.7176 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03659/2.417, allocations: 21.2 MB / 0.7383 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/2.417, allocations: 110.3 kB / 0.7384 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005732/2.418, allocations: 376 kB / 0.7388 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02817/2.446, allocations: 10.83 MB / 0.7493 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/2.446, allocations: 2.969 kB / 0.7493 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.495e-06/2.446, allocations: 0 / 0.7493 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.077e-05/2.446, allocations: 0 / 0.7493 GB, free: 15.09 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.005691/2.452, allocations: 2.066 MB / 0.7514 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/2.452, allocations: 8.312 kB / 0.7514 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/2.452, allocations: 135.8 kB / 0.7515 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/2.452, allocations: 94.25 kB / 0.7516 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/2.453, allocations: 419 kB / 0.752 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/2.453, allocations: 52.25 kB / 0.752 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/2.453, allocations: 68.94 kB / 0.7521 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009359/2.454, allocations: 0.7628 MB / 0.7528 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/2.454, allocations: 0 / 0.7528 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/2.454, allocations: 27.41 kB / 0.7529 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/2.454, allocations: 28.39 kB / 0.7529 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/2.455, allocations: 0.4918 MB / 0.7534 GB, free: 12.99 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0733/2.528, allocations: 34.21 MB / 0.7868 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/2.528, allocations: 202.1 kB / 0.787 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/2.528, allocations: 131.2 kB / 0.7871 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6076/3.136, allocations: 222.6 MB / 1.005 GB, free: 437 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/3.136, allocations: 33.62 kB / 1.005 GB, free: 437 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=54): time 2.605e-06/3.136, allocations: 3.75 kB / 1.005 GB, free: 437 MB / 0.8106 GB Notification: Performance of matching and sorting (n=54): time 0.001288/3.137, allocations: 0.6173 MB / 1.005 GB, free: 436.8 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/3.137, allocations: 53.5 kB / 1.005 GB, free: 436.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/3.138, allocations: 486.2 kB / 1.006 GB, free: 436.6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/3.138, allocations: 26.55 kB / 1.006 GB, free: 436.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/3.138, allocations: 370.2 kB / 1.006 GB, free: 436.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/3.138, allocations: 181.6 kB / 1.006 GB, free: 436.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/3.138, allocations: 64.95 kB / 1.006 GB, free: 436.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001013/3.138, allocations: 369.3 kB / 1.007 GB, free: 436 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/3.139, allocations: 119.1 kB / 1.007 GB, free: 436 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/3.139, allocations: 305.9 kB / 1.007 GB, free: 435.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/3.139, allocations: 474.3 kB / 1.007 GB, free: 435.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/3.139, allocations: 0 / 1.007 GB, free: 435.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007997/3.14, allocations: 0.5839 MB / 1.008 GB, free: 435.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/3.14, allocations: 9.25 kB / 1.008 GB, free: 435.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/3.14, allocations: 7.844 kB / 1.008 GB, free: 435.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000511/3.141, allocations: 354.9 kB / 1.008 GB, free: 435.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/3.141, allocations: 75.86 kB / 1.008 GB, free: 435.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004697/3.142, allocations: 0.7109 MB / 1.009 GB, free: 434.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/3.142, allocations: 81.23 kB / 1.009 GB, free: 434.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/3.142, allocations: 23.66 kB / 1.009 GB, free: 434.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (Source_Fumees.C.ftype,source_Eau.C.ftype,puits_Eau.fluid,EchangeurEfficacite.fluid_ws,EchangeurEfficacite.fluid_fg,Puits_Fumees.fluid,Source_Fumees.fluid1,source_Eau.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002059/3.142, allocations: 190.6 kB / 1.009 GB, free: 434.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/3.142, allocations: 57.5 kB / 1.01 GB, free: 434.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007892/3.143, allocations: 0.6655 MB / 1.01 GB, free: 434.6 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005493/3.143, allocations: 481.9 kB / 1.011 GB, free: 434.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/3.144, allocations: 0.75 kB / 1.011 GB, free: 434.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/3.144, allocations: 7.188 kB / 1.011 GB, free: 434.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2099/3.353, allocations: 132.8 MB / 1.14 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/3.354, allocations: 4.562 kB / 1.14 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/3.354, allocations: 78.38 kB / 1.14 GB, free: 300.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003944/3.354, allocations: 360.2 kB / 1.141 GB, free: 300.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/3.354, allocations: 11.94 kB / 1.141 GB, free: 300.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000496/3.355, allocations: 0.7353 MB / 1.142 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/3.355, allocations: 4 kB / 1.142 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007775/3.355, allocations: 0.7174 MB / 1.142 GB, free: 299 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/3.356, allocations: 192.2 kB / 1.142 GB, free: 298.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.631e-05/3.356, allocations: 20.42 kB / 1.142 GB, free: 298.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/3.356, allocations: 11.69 kB / 1.142 GB, free: 298.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/3.356, allocations: 31.84 kB / 1.142 GB, free: 298.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/3.356, allocations: 23.94 kB / 1.142 GB, free: 298.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003579/3.356, allocations: 376.1 kB / 1.143 GB, free: 298.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9.12e-07/3.356, allocations: 0 / 1.143 GB, free: 298.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004461/3.361, allocations: 1.594 MB / 1.144 GB, free: 297.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007363/3.368, allocations: 3.574 MB / 1.148 GB, free: 294.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008314/3.369, allocations: 0.5659 MB / 1.148 GB, free: 293.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/3.369, allocations: 5.125 kB / 1.148 GB, free: 293.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000282/3.369, allocations: 269.4 kB / 1.149 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/3.371, allocations: 249.8 kB / 1.149 GB, free: 293.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006978/3.378, allocations: 5.995 MB / 1.155 GB, free: 287.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/3.378, allocations: 0.9586 MB / 1.156 GB, free: 286.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003595/3.379, allocations: 97.91 kB / 1.156 GB, free: 286.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/3.379, allocations: 287.1 kB / 1.156 GB, free: 286.8 MB / 0.8106 GB Notification: Performance of SimCode: time 5.91e-07/3.379, allocations: 4 kB / 1.156 GB, free: 286.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07458/3.454, allocations: 61.62 MB / 1.216 GB, free: 226.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/3.454, allocations: 312.4 kB / 1.217 GB, free: 225.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.665/8.118, allocations: 0 / 1.217 GB, free: 225.9 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleEvaporatorWaterSteamFlueGases_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleEvaporatorWaterSteamFlueGases.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.pipe 2>&1)