Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.4967/0.4967, allocations: 111.6 MB / 131.5 MB, free: 4.91 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 176.7 MB, free: 8.867 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.304e-05, allocations: 8.094 kB / 176.7 MB, free: 8.863 MB / 170.7 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.TestStaticWaterWaterExchanger): time 1.124/1.124, allocations: 264.4 MB / 441.1 MB, free: 13.54 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02013/1.144, allocations: 22.36 MB / 463.4 MB, free: 7.105 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/1.145, allocations: 8 kB / 463.4 MB, free: 7.098 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:54:3-55:80: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/StaticWaterWaterExchanger.mo:56:3-57:80: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/StaticWaterWaterExchanger.mo:58:3-59:78: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/StaticWaterWaterExchanger.mo:60:3-61:77:writable] Warning: Connector Sc 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/SourceP.mo:19:3-20:78: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:19:3-20:80:writable] Warning: Connector C 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.0003755/1.145, allocations: 182.6 kB / 463.6 MB, free: 6.918 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/1.145, allocations: 325.7 kB / 463.9 MB, free: 6.598 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009685/1.155, allocations: 6.231 MB / 470.2 MB, free: 348 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007328/1.156, allocations: 1.015 MB / 471.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/1.156, allocations: 262 kB / 471.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/1.156, allocations: 0.5651 MB / 472 MB, free: 14.49 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/1.157, allocations: 243.3 kB / 472.2 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/1.157, allocations: 56 kB / 472.3 MB, free: 14.2 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.2067/1.363, allocations: 15.6 MB / 487.9 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/1.364, allocations: 131.9 kB / 488 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003813/1.364, allocations: 242.5 kB / 488.3 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01259/1.376, allocations: 8.795 MB / 497.1 MB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/1.376, allocations: 0 / 497.1 MB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/1.376, allocations: 0 / 497.1 MB, free: 13.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.594e-05/1.377, allocations: 0 / 497.1 MB, free: 13.92 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004056/1.381, allocations: 1.464 MB / 498.5 MB, free: 13.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/1.381, allocations: 14.8 kB / 498.5 MB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/1.381, allocations: 85.69 kB / 498.6 MB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/1.381, allocations: 235.2 kB / 498.8 MB, free: 13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/1.381, allocations: 206 kB / 499 MB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/1.381, allocations: 42.81 kB / 499.1 MB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/1.382, allocations: 0.541 MB / 499.6 MB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/1.382, allocations: 2.125 kB / 499.6 MB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/1.382, allocations: 21.56 kB / 499.7 MB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/1.382, allocations: 36.14 kB / 499.7 MB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/1.382, allocations: 230.5 kB / 499.9 MB, free: 12.62 MB / 426.7 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.02737/1.409, allocations: 18.43 MB / 0.5062 GB, free: 6.309 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/1.41, allocations: 303 kB / 0.5065 GB, free: 6.043 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/1.41, allocations: 102.2 kB / 0.5066 GB, free: 5.949 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03177/1.442, allocations: 18.9 MB / 0.525 GB, free: 3.242 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/1.442, allocations: 34.56 kB / 0.5251 GB, free: 3.199 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 2.124e-06/1.442, allocations: 1.859 kB / 0.5251 GB, free: 3.199 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.006803/1.448, allocations: 2.249 MB / 0.5273 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/1.448, allocations: 55.41 kB / 0.5273 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/1.449, allocations: 250.2 kB / 0.5276 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/1.449, allocations: 29.7 kB / 0.5276 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/1.449, allocations: 227.8 kB / 0.5278 GB, free: 444 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/1.449, allocations: 428.6 kB / 0.5282 GB, free: 40 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/1.449, allocations: 123.5 kB / 0.5283 GB, free: 15.94 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.892e-05/1.449, allocations: 367.7 kB / 0.5287 GB, free: 15.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/1.449, allocations: 104.6 kB / 0.5288 GB, free: 15.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/1.449, allocations: 196.4 kB / 0.529 GB, free: 15.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/1.45, allocations: 388.9 kB / 0.5293 GB, free: 14.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.45, allocations: 0 / 0.5293 GB, free: 14.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001353/1.451, allocations: 0.6992 MB / 0.53 GB, free: 14.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.451, allocations: 4.781 kB / 0.53 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.451, allocations: 4 kB / 0.53 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/1.453, allocations: 1.217 MB / 0.5312 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/1.453, allocations: 25.78 kB / 0.5312 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007033/1.453, allocations: 0.9314 MB / 0.5322 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/1.454, allocations: 79.28 kB / 0.5322 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/1.454, allocations: 8 kB / 0.5322 GB, free: 12.01 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (plateHeatExchanger.Ec.a,plateHeatExchanger.Ef.a,plateHeatExchanger.Sf.b,plateHeatExchanger.Sc.b,sourceP2.C.b,sourceP3.C.b,puitsP2.C.a,puitsP3.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.454, allocations: 136.8 kB / 0.5324 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/1.454, allocations: 35.91 kB / 0.5324 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/1.456, allocations: 3.356 MB / 0.5357 GB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007072/1.457, allocations: 0.6417 MB / 0.5363 GB, free: 8.766 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/1.457, allocations: 0.5625 kB / 0.5363 GB, free: 8.766 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/1.457, allocations: 3.984 kB / 0.5363 GB, free: 8.762 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/1.459, allocations: 1.756 MB / 0.538 GB, free: 7.105 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.459, allocations: 0.625 kB / 0.538 GB, free: 7.105 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/1.459, allocations: 98.34 kB / 0.5381 GB, free: 7.016 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009141/1.46, allocations: 0.6772 MB / 0.5388 GB, free: 6.359 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/1.46, allocations: 19.17 kB / 0.5388 GB, free: 6.344 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006933/1.461, allocations: 0.9582 MB / 0.5397 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.461, allocations: 0 / 0.5397 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/1.463, allocations: 0.9395 MB / 0.5407 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/1.463, allocations: 80.42 kB / 0.5407 GB, free: 4.391 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/1.463, allocations: 31.78 kB / 0.5408 GB, free: 4.359 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/1.463, allocations: 24.86 kB / 0.5408 GB, free: 4.336 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/1.463, allocations: 56.89 kB / 0.5408 GB, free: 4.277 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/1.463, allocations: 23.98 kB / 0.5409 GB, free: 4.254 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001072/1.463, allocations: 154.3 kB / 0.541 GB, free: 4.117 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/1.463, allocations: 0 / 0.541 GB, free: 4.117 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002934/1.466, allocations: 1.068 MB / 0.542 GB, free: 3.047 MB / 458.7 MB 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002992/1.469, allocations: 1.421 MB / 0.5434 GB, free: 1.762 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007411/1.47, allocations: 0.7238 MB / 0.5441 GB, free: 1.023 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.47, allocations: 4 kB / 0.5441 GB, free: 1.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003158/1.47, allocations: 312.8 kB / 0.5444 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009033/1.471, allocations: 413.5 kB / 0.5448 GB, free: 364 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/1.473, allocations: 1.41 MB / 0.5462 GB, free: 14.94 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/1.473, allocations: 184.9 kB / 0.5464 GB, free: 14.74 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001691/1.473, allocations: 62.28 kB / 0.5465 GB, free: 14.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/1.473, allocations: 245.1 kB / 0.5467 GB, free: 14.45 MB / 474.7 MB Notification: Performance of SimCode: time 9.62e-07/1.473, allocations: 0 / 0.5467 GB, free: 14.45 MB / 474.7 MB Notification: Performance of Templates: time 0.0614/1.535, allocations: 53.44 MB / 0.5989 GB, free: 9.523 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.506686476990581]