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: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7899/0.7899, allocations: 150.9 MB / 166 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 11.98 kB / 204 MB, free: 10.15 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 31.33 MB / 235.4 MB, free: 5.441 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.62/1.759, allocations: 294.3 MB / 0.5172 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5259/2.285, allocations: 192.5 MB / 0.7052 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004935/2.286, allocations: 15.5 kB / 0.7052 GB, free: 3.746 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.0005918/2.286, allocations: 148.2 kB / 0.7053 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005205/2.287, allocations: 237.4 kB / 0.7056 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02831/2.315, allocations: 9.291 MB / 0.7146 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001039/2.316, allocations: 0.8304 MB / 0.7154 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004095/2.317, allocations: 381.2 kB / 0.7158 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/2.317, allocations: 330.2 kB / 0.7161 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/2.317, allocations: 343.7 kB / 0.7164 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.082e-05/2.318, allocations: 48.16 kB / 0.7165 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03448/2.352, allocations: 21.11 MB / 0.7371 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003163/2.352, allocations: 135.5 kB / 0.7372 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006238/2.353, allocations: 388.4 kB / 0.7376 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02844/2.381, allocations: 10.9 MB / 0.7482 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/2.382, allocations: 1.094 kB / 0.7482 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.036e-06/2.382, allocations: 0 / 0.7482 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.2e-05/2.382, allocations: 2.25 kB / 0.7482 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.006872/2.388, allocations: 2.208 MB / 0.7504 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/2.388, allocations: 11.91 kB / 0.7504 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/2.389, allocations: 88.16 kB / 0.7505 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005907/2.389, allocations: 426.2 kB / 0.7509 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/2.389, allocations: 52 kB / 0.751 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/2.389, allocations: 67.44 kB / 0.751 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/2.391, allocations: 0.7643 MB / 0.7518 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/2.391, allocations: 3.562 kB / 0.7518 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/2.391, allocations: 30.06 kB / 0.7518 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/2.391, allocations: 28.3 kB / 0.7518 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006811/2.391, allocations: 0.4892 MB / 0.7523 GB, free: 13.46 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.07266/2.464, allocations: 33.93 MB / 0.7854 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005795/2.465, allocations: 197.5 kB / 0.7856 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/2.465, allocations: 124.3 kB / 0.7857 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6064/3.071, allocations: 221 MB / 1.002 GB, free: 461.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/3.071, allocations: 30.56 kB / 1.002 GB, free: 461.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=54): time 2.525e-06/3.071, allocations: 4 kB / 1.002 GB, free: 461.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=54): time 0.001678/3.073, allocations: 0.609 MB / 1.002 GB, free: 461.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/3.073, allocations: 59.75 kB / 1.002 GB, free: 461.1 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006319/3.074, allocations: 493.1 kB / 1.003 GB, free: 460.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/3.074, allocations: 29.36 kB / 1.003 GB, free: 460.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/3.074, allocations: 365.8 kB / 1.003 GB, free: 460.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/3.074, allocations: 186.8 kB / 1.003 GB, free: 460.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/3.074, allocations: 103.5 kB / 1.003 GB, free: 460.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/3.074, allocations: 369.7 kB / 1.004 GB, free: 460.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/3.075, allocations: 117.1 kB / 1.004 GB, free: 460.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/3.075, allocations: 306.7 kB / 1.004 GB, free: 460.1 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/3.075, allocations: 479.7 kB / 1.005 GB, free: 459.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/3.075, allocations: 0 / 1.005 GB, free: 459.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009075/3.076, allocations: 0.5808 MB / 1.005 GB, free: 459.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/3.076, allocations: 12.28 kB / 1.005 GB, free: 459.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/3.076, allocations: 5.906 kB / 1.005 GB, free: 459.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005305/3.077, allocations: 358.7 kB / 1.006 GB, free: 459.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/3.077, allocations: 80.14 kB / 1.006 GB, free: 459.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000557/3.078, allocations: 0.702 MB / 1.006 GB, free: 459.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/3.078, allocations: 72.48 kB / 1.006 GB, free: 459.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/3.078, allocations: 22.06 kB / 1.006 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.0002719/3.079, allocations: 195.1 kB / 1.007 GB, free: 459.1 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/3.079, allocations: 55.05 kB / 1.007 GB, free: 459.1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008059/3.079, allocations: 0.6673 MB / 1.007 GB, free: 459 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005918/3.08, allocations: 489.9 kB / 1.008 GB, free: 458.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/3.08, allocations: 0 / 1.008 GB, free: 458.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/3.08, allocations: 0 / 1.008 GB, free: 458.9 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2029/3.283, allocations: 131.9 MB / 1.136 GB, free: 332.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/3.283, allocations: 14.66 kB / 1.137 GB, free: 332.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/3.283, allocations: 66.27 kB / 1.137 GB, free: 332.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/3.284, allocations: 359.7 kB / 1.137 GB, free: 332.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/3.284, allocations: 19.81 kB / 1.137 GB, free: 332.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004415/3.284, allocations: 0.7218 MB / 1.138 GB, free: 331.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/3.284, allocations: 4.656 kB / 1.138 GB, free: 331.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007781/3.285, allocations: 0.7141 MB / 1.138 GB, free: 331 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/3.285, allocations: 178.8 kB / 1.139 GB, free: 330.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/3.285, allocations: 19.56 kB / 1.139 GB, free: 330.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/3.286, allocations: 11.53 kB / 1.139 GB, free: 330.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/3.286, allocations: 40.58 kB / 1.139 GB, free: 330.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/3.286, allocations: 15.75 kB / 1.139 GB, free: 330.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003819/3.286, allocations: 385.4 kB / 1.139 GB, free: 330.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/3.286, allocations: 3.281 kB / 1.139 GB, free: 330.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004068/3.29, allocations: 1.594 MB / 1.141 GB, free: 329.1 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.007761/3.298, allocations: 2.433 MB / 1.143 GB, free: 327.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009057/3.299, allocations: 0.5843 MB / 1.143 GB, free: 326.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/3.299, allocations: 0 / 1.143 GB, free: 326.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003252/3.299, allocations: 269.2 kB / 1.144 GB, free: 326.6 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/3.3, allocations: 250.8 kB / 1.144 GB, free: 326.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/3.302, allocations: 1.599 MB / 1.146 GB, free: 324.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/3.303, allocations: 0.9525 MB / 1.146 GB, free: 323.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003852/3.303, allocations: 96.52 kB / 1.147 GB, free: 323.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/3.303, allocations: 51.44 kB / 1.147 GB, free: 323.8 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/3.303, allocations: 3.281 kB / 1.147 GB, free: 323.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.06033/3.363, allocations: 53.47 MB / 1.199 GB, free: 271.2 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.makefile (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 & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.pipe 2>&1)