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.7863/0.7863, allocations: 150.9 MB / 166 MB, free: 14.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 19.97 kB / 204.1 MB, free: 10.03 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 31.33 MB / 235.4 MB, free: 5.469 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases): time 1.426/1.563, allocations: 295.2 MB / 0.5182 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3968/1.96, allocations: 192.5 MB / 0.7062 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/1.96, allocations: 15.56 kB / 0.7062 GB, free: 3.766 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleEvaporatorWaterSteamFlueGases.mo:47:3-48:73:writable] Warning: Connector Cws2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleEvaporatorWaterSteamFlueGases.mo:49:3-50:75:writable] Warning: Connector Cws1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleEvaporatorWaterSteamFlueGases.mo:51:3-52:73:writable] Warning: Connector Cfg1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleEvaporatorWaterSteamFlueGases.mo:53:3-54:75:writable] Warning: Connector Cfg2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004314/1.961, allocations: 148.7 kB / 0.7064 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003994/1.961, allocations: 237.7 kB / 0.7066 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02048/1.982, allocations: 9.288 MB / 0.7157 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007488/1.982, allocations: 0.8254 MB / 0.7165 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/1.983, allocations: 379.5 kB / 0.7168 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/1.983, allocations: 336.2 kB / 0.7171 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/1.983, allocations: 337.8 kB / 0.7175 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.353e-05/1.983, allocations: 50.19 kB / 0.7175 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02723/2.01, allocations: 21.11 MB / 0.7381 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001909/2.011, allocations: 135.8 kB / 0.7383 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004512/2.011, allocations: 391.3 kB / 0.7386 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0187/2.03, allocations: 10.88 MB / 0.7493 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/2.03, allocations: 0 / 0.7493 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.052e-06/2.03, allocations: 0 / 0.7493 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.024e-05/2.03, allocations: 0 / 0.7493 GB, free: 15.51 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.004381/2.034, allocations: 2.212 MB / 0.7514 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/2.034, allocations: 12.67 kB / 0.7514 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/2.034, allocations: 126.9 kB / 0.7516 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/2.035, allocations: 92.53 kB / 0.7516 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/2.035, allocations: 421.5 kB / 0.752 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/2.035, allocations: 57.44 kB / 0.7521 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/2.035, allocations: 72.17 kB / 0.7522 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008713/2.036, allocations: 0.7647 MB / 0.7529 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/2.036, allocations: 3 kB / 0.7529 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/2.036, allocations: 30.33 kB / 0.7529 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/2.036, allocations: 21.41 kB / 0.753 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006196/2.037, allocations: 0.4997 MB / 0.7535 GB, free: 13.38 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.0639/2.101, allocations: 33.92 MB / 0.7866 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/2.101, allocations: 201.9 kB / 0.7868 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/2.101, allocations: 124.1 kB / 0.7869 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4822/2.583, allocations: 221 MB / 1.003 GB, free: 461.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/2.583, allocations: 33.53 kB / 1.003 GB, free: 461.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=54): time 2.304e-06/2.583, allocations: 0 / 1.003 GB, free: 461.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=54): time 0.001151/2.585, allocations: 0.6161 MB / 1.003 GB, free: 461.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/2.585, allocations: 51.41 kB / 1.003 GB, free: 461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/2.585, allocations: 489.6 kB / 1.004 GB, free: 460.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/2.585, allocations: 25.7 kB / 1.004 GB, free: 460.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/2.585, allocations: 367.4 kB / 1.004 GB, free: 460.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/2.585, allocations: 187.9 kB / 1.004 GB, free: 460.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/2.585, allocations: 113.3 kB / 1.005 GB, free: 460.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 6.314e-05/2.585, allocations: 366.6 kB / 1.005 GB, free: 460.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/2.586, allocations: 114.4 kB / 1.005 GB, free: 460.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/2.586, allocations: 305.2 kB / 1.005 GB, free: 460 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/2.586, allocations: 481.6 kB / 1.006 GB, free: 459.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/2.586, allocations: 0 / 1.006 GB, free: 459.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007259/2.587, allocations: 0.5855 MB / 1.006 GB, free: 459.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/2.587, allocations: 7.125 kB / 1.006 GB, free: 459.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/2.587, allocations: 8.484 kB / 1.006 GB, free: 459.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/2.587, allocations: 355.4 kB / 1.007 GB, free: 459.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/2.588, allocations: 77.62 kB / 1.007 GB, free: 459.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004092/2.588, allocations: 0.7085 MB / 1.007 GB, free: 459.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/2.588, allocations: 73.38 kB / 1.008 GB, free: 459.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/2.588, allocations: 24.48 kB / 1.008 GB, free: 459.2 MB / 0.8262 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.000171/2.589, allocations: 189.6 kB / 1.008 GB, free: 459 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.438e-05/2.589, allocations: 54 kB / 1.008 GB, free: 459 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006839/2.589, allocations: 0.6729 MB / 1.008 GB, free: 458.9 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005113/2.59, allocations: 489.9 kB / 1.009 GB, free: 458.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/2.59, allocations: 0.9375 kB / 1.009 GB, free: 458.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/2.59, allocations: 3.562 kB / 1.009 GB, free: 458.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1799/2.77, allocations: 131.9 MB / 1.138 GB, free: 332.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/2.77, allocations: 7.375 kB / 1.138 GB, free: 332.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/2.77, allocations: 70.81 kB / 1.138 GB, free: 332.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003165/2.77, allocations: 359.1 kB / 1.138 GB, free: 332.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/2.77, allocations: 19.8 kB / 1.138 GB, free: 332.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003664/2.771, allocations: 0.7185 MB / 1.139 GB, free: 331.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/2.771, allocations: 7.094 kB / 1.139 GB, free: 331.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/2.771, allocations: 0.7119 MB / 1.139 GB, free: 330.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/2.771, allocations: 179.4 kB / 1.14 GB, free: 330.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/2.772, allocations: 11.75 kB / 1.14 GB, free: 330.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/2.772, allocations: 19.97 kB / 1.14 GB, free: 330.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/2.772, allocations: 43.31 kB / 1.14 GB, free: 330.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/2.772, allocations: 23.16 kB / 1.14 GB, free: 330.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003066/2.772, allocations: 377 kB / 1.14 GB, free: 330.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/2.772, allocations: 0 / 1.14 GB, free: 330.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003172/2.775, allocations: 1.592 MB / 1.142 GB, free: 329 MB / 0.8262 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.005921/2.781, allocations: 3.593 MB / 1.145 GB, free: 326 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006964/2.782, allocations: 0.5793 MB / 1.146 GB, free: 325.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/2.782, allocations: 4 kB / 1.146 GB, free: 325.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002777/2.782, allocations: 264.8 kB / 1.146 GB, free: 325.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/2.783, allocations: 250.6 kB / 1.146 GB, free: 325.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005622/2.789, allocations: 5.975 MB / 1.152 GB, free: 319.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/2.789, allocations: 0.9524 MB / 1.153 GB, free: 318.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003255/2.79, allocations: 101.7 kB / 1.153 GB, free: 318.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/2.79, allocations: 289.3 kB / 1.153 GB, free: 318.6 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/2.79, allocations: 0 / 1.153 GB, free: 318.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.775/5.565, allocations: 62.91 MB / 1.215 GB, free: 256.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/5.565, allocations: 309 kB / 1.215 GB, free: 256.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.687/10.25, allocations: 0.8125 kB / 1.215 GB, free: 256.4 MB / 0.8262 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)