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.5019/0.5019, allocations: 111.6 MB / 131.4 MB, free: 4.914 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 2.244e-06/2.244e-06, allocations: 0 / 176.5 MB, free: 8.977 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.651e-05, allocations: 10.31 kB / 176.5 MB, free: 8.965 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.059/1.059, allocations: 258.6 MB / 435.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02019/1.079, allocations: 22.07 MB / 457.2 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/1.08, allocations: 4 kB / 457.2 MB, free: 8.262 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.0003809/1.08, allocations: 170.8 kB / 457.4 MB, free: 8.094 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004617/1.081, allocations: 337.6 kB / 457.7 MB, free: 7.762 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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.01347/1.094, allocations: 7.29 MB / 465 MB, free: 460 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009343/1.095, allocations: 1.015 MB / 466 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/1.095, allocations: 257.4 kB / 466.2 MB, free: 15.17 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/1.096, allocations: 0.5767 MB / 466.8 MB, free: 14.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/1.096, allocations: 239.3 kB / 467.1 MB, free: 14.36 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.983e-05/1.096, allocations: 52 kB / 467.1 MB, free: 14.3 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2292/1.325, allocations: 14.46 MB / 481.6 MB, free: 15.24 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/1.325, allocations: 130.8 kB / 481.7 MB, free: 15.24 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/1.326, allocations: 244.5 kB / 481.9 MB, free: 15.24 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/1.34, allocations: 8.792 MB / 490.7 MB, free: 15.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.34, allocations: 0.625 kB / 490.7 MB, free: 15.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.393e-06/1.34, allocations: 0.5 kB / 490.7 MB, free: 15.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/1.34, allocations: 1.094 kB / 490.7 MB, free: 15.15 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.004342/1.344, allocations: 1.606 MB / 492.3 MB, free: 14.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.344, allocations: 13.2 kB / 492.3 MB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/1.344, allocations: 121.4 kB / 492.5 MB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/1.344, allocations: 277.7 kB / 492.7 MB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.943e-05/1.344, allocations: 203.3 kB / 492.9 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/1.345, allocations: 48.28 kB / 493 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/1.345, allocations: 0.565 MB / 493.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.345, allocations: 6 kB / 493.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/1.345, allocations: 20.06 kB / 493.6 MB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/1.345, allocations: 36.97 kB / 493.6 MB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/1.345, allocations: 236.4 kB / 493.8 MB, free: 13.63 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.02886/1.374, allocations: 19.5 MB / 0.5013 GB, free: 7.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/1.375, allocations: 282.7 kB / 0.5016 GB, free: 7.246 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/1.375, allocations: 123 kB / 0.5017 GB, free: 7.133 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02895/1.404, allocations: 18.4 MB / 0.5197 GB, free: 4.941 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/1.404, allocations: 42.14 kB / 0.5197 GB, free: 4.891 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 2.195e-06/1.404, allocations: 0 / 0.5197 GB, free: 4.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.006647/1.41, allocations: 2.443 MB / 0.5221 GB, free: 2.469 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/1.41, allocations: 55.41 kB / 0.5221 GB, free: 2.402 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/1.411, allocations: 304.4 kB / 0.5224 GB, free: 2.121 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/1.411, allocations: 33.7 kB / 0.5225 GB, free: 2.082 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/1.411, allocations: 288.4 kB / 0.5227 GB, free: 1.805 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/1.411, allocations: 432.4 kB / 0.5232 GB, free: 1.406 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/1.411, allocations: 159.3 kB / 0.5233 GB, free: 1.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/1.411, allocations: 0.5461 MB / 0.5238 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/1.411, allocations: 113.5 kB / 0.5239 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/1.412, allocations: 258.2 kB / 0.5242 GB, free: 372 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/1.412, allocations: 432.2 kB / 0.5246 GB, free: 15.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.412, allocations: 0 / 0.5246 GB, free: 15.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001461/1.413, allocations: 0.835 MB / 0.5254 GB, free: 15.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.413, allocations: 8 kB / 0.5254 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.413, allocations: 0.75 kB / 0.5254 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/1.415, allocations: 1.248 MB / 0.5266 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/1.415, allocations: 35.67 kB / 0.5267 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008667/1.416, allocations: 1.293 MB / 0.5279 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/1.416, allocations: 75.28 kB / 0.528 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/1.416, allocations: 20.55 kB / 0.528 GB, free: 12.46 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.0001232/1.416, allocations: 179.8 kB / 0.5282 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/1.416, allocations: 64.12 kB / 0.5283 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/1.419, allocations: 4.221 MB / 0.5324 GB, free: 8.875 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007823/1.42, allocations: 0.7574 MB / 0.5331 GB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/1.42, allocations: 1.312 kB / 0.5331 GB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.42, allocations: 3.984 kB / 0.5331 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/1.422, allocations: 2.052 MB / 0.5351 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.422, allocations: 0 / 0.5351 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/1.423, allocations: 98.23 kB / 0.5352 GB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009244/1.423, allocations: 0.6949 MB / 0.5359 GB, free: 5.402 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/1.424, allocations: 19.98 kB / 0.5359 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008556/1.424, allocations: 1.309 MB / 0.5372 GB, free: 4.074 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.424, allocations: 0 / 0.5372 GB, free: 4.074 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/1.426, allocations: 1.093 MB / 0.5383 GB, free: 2.996 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/1.426, allocations: 79.94 kB / 0.5384 GB, free: 2.918 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/1.426, allocations: 36.81 kB / 0.5384 GB, free: 2.883 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/1.426, allocations: 23.98 kB / 0.5384 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/1.426, allocations: 60.88 kB / 0.5385 GB, free: 2.801 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/1.426, allocations: 17.31 kB / 0.5385 GB, free: 2.785 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001547/1.427, allocations: 294.3 kB / 0.5388 GB, free: 2.512 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/1.427, allocations: 0 / 0.5388 GB, free: 2.512 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003364/1.43, allocations: 1.072 MB / 0.5398 GB, free: 1.438 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.002753/1.433, allocations: 1.383 MB / 0.5412 GB, free: 188 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007578/1.433, allocations: 0.7787 MB / 0.5419 GB, free: 15.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.433, allocations: 0 / 0.5419 GB, free: 15.39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003351/1.434, allocations: 339.5 kB / 0.5422 GB, free: 15.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009552/1.435, allocations: 429.9 kB / 0.5427 GB, free: 14.67 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/1.437, allocations: 1.401 MB / 0.544 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/1.437, allocations: 189.7 kB / 0.5442 GB, free: 13.06 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001765/1.437, allocations: 57.92 kB / 0.5443 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/1.437, allocations: 302 kB / 0.5446 GB, free: 12.71 MB / 474.7 MB Notification: Performance of SimCode: time 5.51e-07/1.437, allocations: 0 / 0.5446 GB, free: 12.71 MB / 474.7 MB Notification: Performance of Templates: time 0.05011/1.487, allocations: 54.18 MB / 0.5975 GB, free: 7.012 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.303873820230365]