Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.9639/0.9639, allocations: 120.4 MB / 139.5 MB, free: 0.4922 MB / 126.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 1.188 kB / 217.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.688e-05, allocations: 2.281 kB / 217.2 MB, free: 13.7 MB / 206.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff): time 1.588/1.588, allocations: 255.4 MB / 472.6 MB, free: 9.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2579/1.846, allocations: 21.37 MB / 494 MB, free: 14.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002606/1.846, allocations: 4.281 kB / 494 MB, free: 14.19 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25: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 master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47: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 master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25: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 master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47: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 master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:69:3-71:37:writable] Warning: Connector Ec 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 master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:72:3-74:42:writable] Warning: Connector Ef 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 master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:75:3-77:37:writable] Warning: Connector Sf 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 master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:78:3-80:36:writable] Warning: Connector Sc is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005801/1.847, allocations: 219.8 kB / 494.2 MB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004764/1.847, allocations: 295 kB / 494.5 MB, free: 13.89 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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. Notification: Performance of NFTyping.typeClassSections: time 0.02212/1.87, allocations: 7.667 MB / 0.4904 GB, free: 8.715 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/1.871, allocations: 0.8367 MB / 0.4912 GB, free: 8.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/1.871, allocations: 210.1 kB / 0.4914 GB, free: 8.039 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007721/1.872, allocations: 494.1 kB / 0.4919 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/1.872, allocations: 181.2 kB / 0.4921 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/1.872, allocations: 42.03 kB / 0.4921 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02901/1.901, allocations: 16.08 MB / 0.5078 GB, free: 9.613 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/1.901, allocations: 100.3 kB / 0.5079 GB, free: 9.516 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004354/1.902, allocations: 196.5 kB / 0.5081 GB, free: 9.324 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01793/1.92, allocations: 9.432 MB / 0.5173 GB, free: 15.87 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.92, allocations: 1.312 kB / 0.5173 GB, free: 15.87 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.272e-06/1.92, allocations: 0 / 0.5173 GB, free: 15.87 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/1.92, allocations: 0 / 0.5173 GB, free: 15.87 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.003859/1.924, allocations: 1.392 MB / 0.5187 GB, free: 14.44 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/1.924, allocations: 8.688 kB / 0.5187 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/1.924, allocations: 68.45 kB / 0.5187 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/1.924, allocations: 253.3 kB / 0.519 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/1.924, allocations: 116.2 kB / 0.5191 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/1.924, allocations: 36.38 kB / 0.5191 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009911/1.925, allocations: 0.6437 MB / 0.5197 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/1.925, allocations: 0 / 0.5197 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/1.925, allocations: 22.06 kB / 0.5198 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/1.926, allocations: 35.97 kB / 0.5198 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/1.926, allocations: 445.8 kB / 0.5202 GB, free: 12.76 MB / 478.1 MB 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.03926/1.966, allocations: 11.79 MB / 0.5317 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006078/1.966, allocations: 277.7 kB / 0.532 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/1.967, allocations: 202.8 kB / 0.5322 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09551/2.062, allocations: 25.87 MB / 0.5575 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/2.062, allocations: 30.56 kB / 0.5575 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=103): time 3.036e-06/2.062, allocations: 4 kB / 0.5575 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=103): time 0.004925/2.067, allocations: 1.338 MB / 0.5588 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/2.067, allocations: 51.41 kB / 0.5588 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/2.067, allocations: 220.1 kB / 0.5591 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/2.067, allocations: 29.7 kB / 0.5591 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/2.068, allocations: 213.4 kB / 0.5593 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/2.068, allocations: 349.9 kB / 0.5596 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/2.068, allocations: 105.6 kB / 0.5597 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001727/2.068, allocations: 362.7 kB / 0.5601 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/2.068, allocations: 192.9 kB / 0.5603 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/2.069, allocations: 302.4 kB / 0.5605 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008894/2.07, allocations: 0.5524 MB / 0.5611 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/2.07, allocations: 0 / 0.5611 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001382/2.071, allocations: 0.7309 MB / 0.5618 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/2.071, allocations: 8 kB / 0.5618 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/2.071, allocations: 4 kB / 0.5618 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002245/2.074, allocations: 0.6963 MB / 0.5625 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/2.074, allocations: 13.39 kB / 0.5625 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/2.075, allocations: 1.063 MB / 0.5635 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/2.076, allocations: 55.45 kB / 0.5636 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/2.076, allocations: 12 kB / 0.5636 GB, free: 232 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (exchangerWaterSteamDTorWorEFF.Sc.b,exchangerWaterSteamDTorWorEFF.Sf.b,exchangerWaterSteamDTorWorEFF.Ef.a,exchangerWaterSteamDTorWorEFF.Ec.a,sinkWaterSteam_FC.C.a,sourceWaterSteam_FC.C.b,sinkWaterSteam_FF.C.a,sourceWaterSteam_FF.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002371/2.076, allocations: 170.4 kB / 0.5638 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/2.076, allocations: 43.67 kB / 0.5638 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/2.079, allocations: 2.022 MB / 0.5658 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001584/2.08, allocations: 0.9832 MB / 0.5667 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/2.08, allocations: 10.56 kB / 0.5668 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/2.08, allocations: 7.984 kB / 0.5668 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/2.084, allocations: 2.063 MB / 0.5688 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/2.084, allocations: 0 / 0.5688 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/2.084, allocations: 103.8 kB / 0.5689 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008275/2.085, allocations: 496.5 kB / 0.5693 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/2.085, allocations: 16 kB / 0.5694 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/2.086, allocations: 1.117 MB / 0.5705 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/2.086, allocations: 4 kB / 0.5705 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/2.088, allocations: 1.106 MB / 0.5715 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/2.088, allocations: 111.2 kB / 0.5716 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/2.088, allocations: 23.89 kB / 0.5717 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/2.089, allocations: 23.94 kB / 0.5717 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/2.089, allocations: 52.55 kB / 0.5717 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/2.089, allocations: 20 kB / 0.5718 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002637/2.089, allocations: 235.1 kB / 0.572 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/2.089, allocations: 0 / 0.572 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002558/2.092, allocations: 0.9941 MB / 0.573 GB, free: 6.477 MB / 0.5137 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003955/2.096, allocations: 1.299 MB / 0.5742 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001923/2.098, allocations: 0.9429 MB / 0.5751 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.098, allocations: 4.5 kB / 0.5751 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/2.099, allocations: 446.6 kB / 0.5756 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/2.101, allocations: 368.3 kB / 0.5759 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/2.103, allocations: 1.373 MB / 0.5773 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/2.103, allocations: 378.2 kB / 0.5776 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000211/2.103, allocations: 54.83 kB / 0.5777 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/2.103, allocations: 40.5 kB / 0.5777 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/2.103, allocations: 0 / 0.5777 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of Templates: time 0.06404/2.167, allocations: 42.9 MB / 0.6196 GB, free: 7.098 MB / 0.5606 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.47161078080535] Failed to read output from testmodel.py, exit status != 0: 2.342424500733614 2.35744229 0.43435700800000004 Calling exit ...