Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.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.4802/0.4802, allocations: 111.6 MB / 131.7 MB, free: 5.066 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.Fluid.Examples.SimpleExamples.TestStaticExchangerKS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 176.5 MB, free: 9.418 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.999e-05, allocations: 2.312 kB / 176.5 MB, free: 9.414 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.Fluid.Examples.SimpleExamples.TestStaticExchangerKS): time 1.035/1.035, allocations: 258.1 MB / 434.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3395/1.375, allocations: 182.4 MB / 0.6025 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003378/1.375, allocations: 19.81 kB / 0.6025 GB, free: 14.52 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/StaticExchangerKS.mo:44:3-45:133:writable] Warning: Connector Sc 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 master/Fluid/HeatExchangers/StaticExchangerKS.mo:46:3-47:137:writable] Warning: Connector Ec 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 master/Fluid/HeatExchangers/StaticExchangerKS.mo:48:3-49:133:writable] Warning: Connector Ef 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 master/Fluid/HeatExchangers/StaticExchangerKS.mo:50:3-51:129:writable] Warning: Connector Sf 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 master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78: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 master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80: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.0001624/1.375, allocations: 91.09 kB / 0.6026 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003953/1.376, allocations: 245.8 kB / 0.6028 GB, free: 14.18 MB / 0.5261 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51: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 master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51: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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151: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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151: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 master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88: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.02135/1.397, allocations: 11.94 MB / 0.6145 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007769/1.398, allocations: 0.8211 MB / 0.6153 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/1.398, allocations: 357.4 kB / 0.6156 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/1.399, allocations: 494.9 kB / 0.6161 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/1.399, allocations: 247.3 kB / 0.6164 GB, free: 324 kB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.667e-05/1.399, allocations: 68 kB / 0.6164 GB, free: 256 kB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02293/1.422, allocations: 18.96 MB / 0.6349 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/1.422, allocations: 187.3 kB / 0.6351 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002925/1.422, allocations: 263.4 kB / 0.6354 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01818/1.44, allocations: 12.68 MB / 0.6477 GB, free: 116 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.44, allocations: 4 kB / 0.6477 GB, free: 112 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.943e-06/1.44, allocations: 0 / 0.6477 GB, free: 112 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.056e-06/1.44, allocations: 0 / 0.6477 GB, free: 112 kB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.003083/1.443, allocations: 2.265 MB / 0.65 GB, free: 13.79 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/1.444, allocations: 15.97 kB / 0.65 GB, free: 13.77 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/1.444, allocations: 159.4 kB / 0.6501 GB, free: 13.62 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/1.444, allocations: 436 kB / 0.6505 GB, free: 13.16 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/1.444, allocations: 50 kB / 0.6506 GB, free: 13.12 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/1.444, allocations: 64 kB / 0.6506 GB, free: 13.05 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/1.445, allocations: 0.5968 MB / 0.6512 GB, free: 12.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.445, allocations: 0 / 0.6512 GB, free: 12.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/1.445, allocations: 28 kB / 0.6513 GB, free: 12.37 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/1.445, allocations: 19.94 kB / 0.6513 GB, free: 12.35 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/1.445, allocations: 312 kB / 0.6516 GB, free: 12.05 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007347/1.453, allocations: 6.526 MB / 0.6579 GB, free: 5.426 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/1.453, allocations: 134.2 kB / 0.6581 GB, free: 5.285 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.48e-05/1.453, allocations: 59.61 kB / 0.6581 GB, free: 5.223 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2736/1.727, allocations: 88.54 MB / 0.7446 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.727, allocations: 41.39 kB / 0.7446 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 2.284e-06/1.727, allocations: 0 / 0.7446 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001479/1.728, allocations: 0.5922 MB / 0.7452 GB, free: 267.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/1.728, allocations: 51.41 kB / 0.7453 GB, free: 267.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/1.728, allocations: 0.5089 MB / 0.7458 GB, free: 267.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/1.728, allocations: 29.7 kB / 0.7458 GB, free: 267 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/1.729, allocations: 432.4 kB / 0.7462 GB, free: 266.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/1.729, allocations: 73.2 kB / 0.7463 GB, free: 266.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/1.729, allocations: 123.7 kB / 0.7464 GB, free: 266.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.417e-05/1.729, allocations: 0.5195 MB / 0.7469 GB, free: 266 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.623e-05/1.729, allocations: 57.72 kB / 0.747 GB, free: 265.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/1.729, allocations: 295.9 kB / 0.7472 GB, free: 265.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/1.729, allocations: 383.6 kB / 0.7476 GB, free: 265 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.729, allocations: 0 / 0.7476 GB, free: 265 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004181/1.73, allocations: 412.6 kB / 0.748 GB, free: 264.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.73, allocations: 11.98 kB / 0.748 GB, free: 264.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.73, allocations: 4 kB / 0.748 GB, free: 264.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/1.731, allocations: 438.6 kB / 0.7484 GB, free: 264.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/1.731, allocations: 63.91 kB / 0.7485 GB, free: 264.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004695/1.732, allocations: 0.9832 MB / 0.7494 GB, free: 263.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/1.732, allocations: 47.95 kB / 0.7495 GB, free: 263.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/1.732, allocations: 21.66 kB / 0.7495 GB, free: 263.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,sourceP2.C.ftype,plateHeatExchanger.fluid_c,plateHeatExchanger.fluid_f,puitsP2.fluid,puitsP3.fluid,sourceP3.fluid1,sourceP2.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 {(4,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.732, allocations: 194.8 kB / 0.7497 GB, free: 262.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/1.732, allocations: 59.59 kB / 0.7498 GB, free: 262.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/1.732, allocations: 372.9 kB / 0.7501 GB, free: 262.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.732, allocations: 4 kB / 0.7501 GB, free: 262.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/1.732, allocations: 0 / 0.7501 GB, free: 262.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.732, allocations: 0 / 0.7501 GB, free: 262.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/1.733, allocations: 369.3 kB / 0.7505 GB, free: 262 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.733, allocations: 5.359 kB / 0.7505 GB, free: 262 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-07/1.733, allocations: 0 / 0.7505 GB, free: 262 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009718/1.734, allocations: 364.1 kB / 0.7508 GB, free: 261.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/1.734, allocations: 8 kB / 0.7508 GB, free: 261.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003913/1.734, allocations: 0.9925 MB / 0.7518 GB, free: 260.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.734, allocations: 4.656 kB / 0.7518 GB, free: 260.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/1.734, allocations: 318.9 kB / 0.7521 GB, free: 260.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.189e-05/1.735, allocations: 94.66 kB / 0.7522 GB, free: 260.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/1.735, allocations: 7.922 kB / 0.7522 GB, free: 260.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/1.735, allocations: 12 kB / 0.7522 GB, free: 260.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/1.735, allocations: 11.92 kB / 0.7522 GB, free: 260.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/1.735, allocations: 12.97 kB / 0.7522 GB, free: 260.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001535/1.735, allocations: 314.8 kB / 0.7525 GB, free: 259.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/1.735, allocations: 0 / 0.7525 GB, free: 259.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002681/1.737, allocations: 1.581 MB / 0.7541 GB, free: 258.5 MB / 0.6198 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 (1): * Single equations (assignments): 0 * 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 {(4,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003893/1.741, allocations: 2.473 MB / 0.7565 GB, free: 256.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000418/1.742, allocations: 256 kB / 0.7567 GB, free: 256.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.742, allocations: 4 kB / 0.7567 GB, free: 256.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/1.742, allocations: 113.4 kB / 0.7569 GB, free: 256 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/1.742, allocations: 128.1 kB / 0.757 GB, free: 255.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/1.744, allocations: 0.9319 MB / 0.7579 GB, free: 254.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.047e-05/1.744, allocations: 121.2 kB / 0.758 GB, free: 254.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001077/1.744, allocations: 56.58 kB / 0.7581 GB, free: 254.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/1.744, allocations: 28.5 kB / 0.7581 GB, free: 254.7 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/1.744, allocations: 0 / 0.7581 GB, free: 254.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.03762/1.781, allocations: 50.15 MB / 0.8071 GB, free: 204.8 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.8918238980695605]