Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.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.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.796/0.796, allocations: 150.9 MB / 166 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.00031, allocations: 15.97 kB / 204 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 31.32 MB / 235.3 MB, free: 5.473 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.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases): time 1.537/1.679, allocations: 293.3 MB / 0.5162 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1696/1.848, allocations: 167.3 MB / 0.6796 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/1.848, allocations: 4 kB / 0.6796 GB, free: 5.621 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:50:3-51:83:writable] Warning: Connector Cws2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:52:3-54:16:writable] Warning: Connector Cws1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:55:3-56:83:writable] Warning: Connector Cfg1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:57:3-59:16:writable] Warning: Connector Cfg2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000355/1.849, allocations: 89.44 kB / 0.6797 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002342/1.849, allocations: 131 kB / 0.6798 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01162/1.861, allocations: 4.478 MB / 0.6842 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005855/1.861, allocations: 0.5143 MB / 0.6847 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/1.862, allocations: 216.9 kB / 0.6849 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/1.862, allocations: 199.1 kB / 0.6851 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/1.862, allocations: 207.2 kB / 0.6853 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/1.862, allocations: 28 kB / 0.6853 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0198/1.882, allocations: 12.88 MB / 0.6979 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/1.882, allocations: 75.7 kB / 0.698 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003065/1.882, allocations: 230.8 kB / 0.6982 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.2754/2.158, allocations: 6.017 MB / 0.7041 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/2.158, allocations: 5 kB / 0.7041 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.021e-06/2.158, allocations: 0 / 0.7041 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.338e-05/2.158, allocations: 0 / 0.7041 GB, free: 17.79 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00466/2.163, allocations: 1.188 MB / 0.7053 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/2.163, allocations: 11.25 kB / 0.7053 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/2.163, allocations: 50.5 kB / 0.7053 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/2.163, allocations: 277.2 kB / 0.7056 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/2.163, allocations: 33.62 kB / 0.7056 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/2.163, allocations: 43.05 kB / 0.7056 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/2.164, allocations: 0.5228 MB / 0.7062 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/2.164, allocations: 4.281 kB / 0.7062 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/2.164, allocations: 18.84 kB / 0.7062 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/2.164, allocations: 18.05 kB / 0.7062 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005892/2.165, allocations: 350.8 kB / 0.7065 GB, free: 16.73 MB / 0.5762 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.002317/2.167, allocations: 2.726 MB / 0.7092 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/2.167, allocations: 167.4 kB / 0.7094 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/2.168, allocations: 111.9 kB / 0.7095 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06981/2.237, allocations: 33.26 MB / 0.7419 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/2.237, allocations: 33.12 kB / 0.742 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/2.237, allocations: 0 / 0.742 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.001993/2.239, allocations: 0.7189 MB / 0.7427 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/2.239, allocations: 51.41 kB / 0.7427 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/2.24, allocations: 403.9 kB / 0.7431 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/2.24, allocations: 28.95 kB / 0.7431 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/2.24, allocations: 211.8 kB / 0.7433 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/2.24, allocations: 133.2 kB / 0.7435 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/2.24, allocations: 71.42 kB / 0.7435 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001141/2.24, allocations: 345.5 kB / 0.7439 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/2.241, allocations: 82.56 kB / 0.7439 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/2.241, allocations: 174.1 kB / 0.7441 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/2.241, allocations: 277.2 kB / 0.7444 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/2.241, allocations: 3.938 kB / 0.7444 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009761/2.242, allocations: 478.3 kB / 0.7448 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/2.242, allocations: 5.5 kB / 0.7448 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/2.242, allocations: 2.625 kB / 0.7448 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008279/2.243, allocations: 299.6 kB / 0.7451 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/2.243, allocations: 37.98 kB / 0.7452 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/2.244, allocations: 1.821 MB / 0.7469 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/2.245, allocations: 56.28 kB / 0.747 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/2.245, allocations: 10.97 kB / 0.747 GB, free: 10.02 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (Puits_Fumees.C.a,Source_Fumees.C.b,source_Eau.C.b,EchangeurEfficacite.Cfg2.b,EchangeurEfficacite.Cfg1.a,EchangeurEfficacite.Cws1.a,EchangeurEfficacite.Cws2.b,puits_Eau.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001775/2.245, allocations: 164.5 kB / 0.7472 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/2.245, allocations: 37.31 kB / 0.7472 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/2.246, allocations: 0.7372 MB / 0.7479 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008659/2.247, allocations: 0.5555 MB / 0.7485 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/2.247, allocations: 4.875 kB / 0.7485 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/2.247, allocations: 2.875 kB / 0.7485 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/2.249, allocations: 1.372 MB / 0.7498 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/2.249, allocations: 2.094 kB / 0.7498 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/2.249, allocations: 60.05 kB / 0.7499 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005872/2.25, allocations: 292.2 kB / 0.7501 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/2.25, allocations: 13.62 kB / 0.7502 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/2.251, allocations: 1.859 MB / 0.752 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/2.251, allocations: 3.828 kB / 0.752 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009014/2.252, allocations: 0.6681 MB / 0.7526 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/2.252, allocations: 141.4 kB / 0.7528 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/2.252, allocations: 7.031 kB / 0.7528 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/2.252, allocations: 15.62 kB / 0.7528 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/2.252, allocations: 25.25 kB / 0.7528 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/2.252, allocations: 12.19 kB / 0.7528 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002655/2.253, allocations: 294.7 kB / 0.7531 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.152e-06/2.253, allocations: 1.203 kB / 0.7531 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00395/2.257, allocations: 0.8566 MB / 0.7539 GB, free: 7.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006692/2.263, allocations: 1.101 MB / 0.755 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001057/2.264, allocations: 485.5 kB / 0.7555 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/2.264, allocations: 0 / 0.7555 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004847/2.265, allocations: 241.9 kB / 0.7557 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/2.266, allocations: 188.7 kB / 0.7559 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/2.267, allocations: 1.086 MB / 0.757 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/2.268, allocations: 0.863 MB / 0.7578 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000197/2.268, allocations: 54.64 kB / 0.7578 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/2.268, allocations: 37.84 kB / 0.7579 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/2.268, allocations: 2.25 kB / 0.7579 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of Templates: time 0.04978/2.318, allocations: 35.64 MB / 0.7927 GB, free: 9.277 MB / 0.6231 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe 2>&1)