Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.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.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.815/0.815, allocations: 150.9 MB / 167.2 MB, free: 14.27 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 15.16 kB / 237.8 MB, free: 1.836 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06142/0.06179, allocations: 31.35 MB / 269.1 MB, free: 7.02 MB / 222.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.TestStaticWallFlueGasesExchanger): time 1.658/1.719, allocations: 295.7 MB / 0.5516 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5187/2.238, allocations: 188.9 MB / 0.7361 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004719/2.239, allocations: 14.38 kB / 0.7361 GB, free: 1.738 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:123:3-124:54:writable] Warning: Connector C1 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/StaticWallFlueGasesExchanger.mo:127:3-128:52:writable] Warning: Connector C2 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.000327/2.239, allocations: 99.31 kB / 0.7362 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001462/2.24, allocations: 0.6423 MB / 0.7368 GB, free: 1.711 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.03072/2.271, allocations: 11.97 MB / 0.7485 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002723/2.274, allocations: 3.161 MB / 0.7516 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/2.275, allocations: 1.267 MB / 0.7528 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009923/2.276, allocations: 0.9571 MB / 0.7538 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/2.278, allocations: 1.174 MB / 0.7549 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002886/2.278, allocations: 208.4 kB / 0.7551 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03669/2.315, allocations: 20.87 MB / 0.7755 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001512/2.316, allocations: 0.9082 MB / 0.7764 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001785/2.318, allocations: 1.118 MB / 0.7775 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0319/2.35, allocations: 11.98 MB / 0.7892 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/2.35, allocations: 3.281 kB / 0.7892 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.655e-06/2.35, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.149e-05/2.35, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.00983/2.36, allocations: 3.533 MB / 0.7926 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/2.36, allocations: 13.48 kB / 0.7926 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004133/2.36, allocations: 214 kB / 0.7928 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/2.362, allocations: 0.8773 MB / 0.7937 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004164/2.362, allocations: 460.8 kB / 0.7941 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/2.363, allocations: 188 kB / 0.7943 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004343/2.367, allocations: 3.122 MB / 0.7974 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/2.367, allocations: 13.38 kB / 0.7974 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/2.367, allocations: 90.06 kB / 0.7975 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/2.367, allocations: 52 kB / 0.7975 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004913/2.372, allocations: 3.151 MB / 0.8006 GB, free: 68 kB / 0.6075 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.01549/2.388, allocations: 14.8 MB / 0.8151 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007493/2.395, allocations: 2.374 MB / 0.8174 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/2.397, allocations: 0.9208 MB / 0.8183 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1638/2.561, allocations: 86.18 MB / 0.9024 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.996e-05/2.561, allocations: 51.86 kB / 0.9025 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 4.118e-06/2.561, allocations: 4 kB / 0.9025 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.01959/2.58, allocations: 5.969 MB / 0.9083 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/2.581, allocations: 64.72 kB / 0.9084 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/2.582, allocations: 1.401 MB / 0.9097 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/2.583, allocations: 49.7 kB / 0.9098 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005467/2.583, allocations: 0.7864 MB / 0.9106 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004836/2.584, allocations: 0.5181 MB / 0.9111 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006156/2.584, allocations: 419.2 kB / 0.9115 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001047/2.584, allocations: 309.1 kB / 0.9118 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/2.586, allocations: 0.9292 MB / 0.9127 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/2.588, allocations: 1.622 MB / 0.9143 GB, free: 312 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004179/2.593, allocations: 2.709 MB / 0.9169 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/2.593, allocations: 7.938 kB / 0.9169 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006488/2.599, allocations: 3.376 MB / 0.9202 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/2.599, allocations: 16 kB / 0.9202 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/2.599, allocations: 31.12 kB / 0.9202 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004487/2.604, allocations: 1.56 MB / 0.9218 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/2.608, allocations: 0.5974 MB / 0.9224 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007995/2.616, allocations: 5.376 MB / 0.9276 GB, free: 2.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/2.618, allocations: 296.9 kB / 0.9279 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/2.618, allocations: 119.9 kB / 0.928 GB, free: 2.012 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,sourceP.fluid1,dynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicOnePhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,11,28.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,43)} Notification: Performance of prepare postOptimizeDAE: time 0.0009621/2.619, allocations: 0.5072 MB / 0.9285 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/2.619, allocations: 162.1 kB / 0.9287 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005725/2.625, allocations: 2.772 MB / 0.9314 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/2.625, allocations: 9.156 kB / 0.9314 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/2.625, allocations: 0 / 0.9314 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/2.626, allocations: 442.7 kB / 0.9318 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/2.626, allocations: 27.88 kB / 0.9318 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009782/2.627, allocations: 71.02 kB / 0.9319 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/2.628, allocations: 117.5 kB / 0.932 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009812/2.638, allocations: 3.282 MB / 0.9352 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005609/2.643, allocations: 3.215 MB / 0.9383 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001535/2.645, allocations: 0.8651 MB / 0.9392 GB, free: 6.57 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001407/2.646, allocations: 0.9533 MB / 0.9401 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of Backend: time 8.62e-07/2.646, allocations: 0 / 0.9401 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01903/2.665, allocations: 5.359 MB / 0.9454 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of SimCode: time 0.004866/2.67, allocations: 3.763 MB / 0.949 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.3158/2.986, allocations: 99.75 MB / 1.046 GB, free: 426.8 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe 2>&1)