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.5466/0.5466, allocations: 111.6 MB / 132.2 MB, free: 4.43 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 2.164e-06/2.164e-06, allocations: 0 / 177.3 MB, free: 8.93 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.484e-05, allocations: 9.922 kB / 177.3 MB, free: 8.922 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.06/1.06, allocations: 258.1 MB / 435.5 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3188/1.379, allocations: 179.4 MB / 0.6004 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003672/1.379, allocations: 19.81 kB / 0.6004 GB, free: 0.7734 MB / 0.5105 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.0001703/1.379, allocations: 91.11 kB / 0.6005 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0005337/1.38, allocations: 245.8 kB / 0.6008 GB, free: 452 kB / 0.5105 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.02156/1.402, allocations: 11.96 MB / 0.6124 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008005/1.402, allocations: 0.8172 MB / 0.6132 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/1.403, allocations: 356.7 kB / 0.6136 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004245/1.403, allocations: 0.495 MB / 0.6141 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/1.403, allocations: 235.3 kB / 0.6143 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/1.403, allocations: 68 kB / 0.6144 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02414/1.428, allocations: 18.95 MB / 0.6329 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/1.428, allocations: 191.3 kB / 0.633 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/1.428, allocations: 263.4 kB / 0.6333 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01903/1.447, allocations: 12.69 MB / 0.6457 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.447, allocations: 0 / 0.6457 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.312e-06/1.447, allocations: 0 / 0.6457 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.447, allocations: 0 / 0.6457 GB, free: 2.344 MB / 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.003857/1.451, allocations: 2.277 MB / 0.6479 GB, free: 16 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/1.451, allocations: 11.98 kB / 0.6479 GB, free: 4 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/1.451, allocations: 155.5 kB / 0.6481 GB, free: 15.85 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/1.452, allocations: 443.9 kB / 0.6485 GB, free: 15.39 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/1.452, allocations: 54 kB / 0.6485 GB, free: 15.34 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/1.452, allocations: 64 kB / 0.6486 GB, free: 15.28 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/1.452, allocations: 0.5459 MB / 0.6491 GB, free: 14.67 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/1.452, allocations: 0 / 0.6491 GB, free: 14.67 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/1.452, allocations: 32 kB / 0.6492 GB, free: 14.64 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/1.452, allocations: 23.94 kB / 0.6492 GB, free: 14.62 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/1.453, allocations: 250 kB / 0.6494 GB, free: 14.37 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007435/1.46, allocations: 6.303 MB / 0.6556 GB, free: 7.977 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/1.46, allocations: 116.4 kB / 0.6557 GB, free: 7.852 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/1.46, allocations: 51.58 kB / 0.6557 GB, free: 7.797 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3433/1.804, allocations: 76.73 MB / 0.7307 GB, free: 93.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/1.804, allocations: 43.17 kB / 0.7307 GB, free: 93.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.844e-06/1.804, allocations: 0 / 0.7307 GB, free: 93.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001409/1.805, allocations: 0.5687 MB / 0.7313 GB, free: 93.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.603e-05/1.805, allocations: 53.59 kB / 0.7313 GB, free: 93.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/1.805, allocations: 0.5064 MB / 0.7318 GB, free: 93.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/1.805, allocations: 29.14 kB / 0.7318 GB, free: 93.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/1.805, allocations: 431 kB / 0.7323 GB, free: 93.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/1.805, allocations: 77.2 kB / 0.7323 GB, free: 93.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/1.806, allocations: 126 kB / 0.7324 GB, free: 93.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/1.806, allocations: 0.5186 MB / 0.733 GB, free: 92.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/1.806, allocations: 45.09 kB / 0.733 GB, free: 92.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/1.806, allocations: 289.3 kB / 0.7333 GB, free: 92.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/1.806, allocations: 366.7 kB / 0.7336 GB, free: 91.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.806, allocations: 0 / 0.7336 GB, free: 91.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000357/1.806, allocations: 389.4 kB / 0.734 GB, free: 91.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.806, allocations: 8.469 kB / 0.734 GB, free: 91.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.806, allocations: 3.531 kB / 0.734 GB, free: 91.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/1.808, allocations: 386.2 kB / 0.7344 GB, free: 91.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/1.808, allocations: 58.92 kB / 0.7344 GB, free: 91.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004367/1.808, allocations: 0.9688 MB / 0.7354 GB, free: 91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/1.808, allocations: 51.92 kB / 0.7354 GB, free: 90.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/1.808, allocations: 28.3 kB / 0.7355 GB, free: 90.98 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 (sourceP2.fluid1,sourceP3.fluid1,puitsP3.fluid,puitsP2.fluid,plateHeatExchanger.fluid_f,plateHeatExchanger.fluid_c,sourceP2.C.ftype,sourceP3.C.ftype) * 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.0001137/1.808, allocations: 180.4 kB / 0.7356 GB, free: 90.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/1.808, allocations: 58.73 kB / 0.7357 GB, free: 90.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/1.809, allocations: 355.8 kB / 0.736 GB, free: 90.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.809, allocations: 0 / 0.736 GB, free: 90.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/1.809, allocations: 0 / 0.736 GB, free: 90.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.809, allocations: 2.281 kB / 0.736 GB, free: 90.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/1.809, allocations: 280.6 kB / 0.7363 GB, free: 90.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.809, allocations: 5.203 kB / 0.7363 GB, free: 90.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-07/1.809, allocations: 0 / 0.7363 GB, free: 90.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000954/1.81, allocations: 349.6 kB / 0.7366 GB, free: 90.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/1.81, allocations: 2.906 kB / 0.7366 GB, free: 90.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003617/1.81, allocations: 0.9699 MB / 0.7376 GB, free: 89.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.81, allocations: 1.406 kB / 0.7376 GB, free: 89.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/1.811, allocations: 312.5 kB / 0.7379 GB, free: 89.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/1.811, allocations: 92.8 kB / 0.738 GB, free: 89.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/1.811, allocations: 3.062 kB / 0.738 GB, free: 89.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/1.811, allocations: 3.375 kB / 0.738 GB, free: 89.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/1.811, allocations: 21.08 kB / 0.738 GB, free: 89.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/1.811, allocations: 4.234 kB / 0.738 GB, free: 89.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001276/1.811, allocations: 301.8 kB / 0.7383 GB, free: 89.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/1.811, allocations: 0 / 0.7383 GB, free: 89.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002665/1.814, allocations: 1.586 MB / 0.7398 GB, free: 89.41 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.004409/1.818, allocations: 2.576 MB / 0.7423 GB, free: 89.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004299/1.819, allocations: 217.3 kB / 0.7426 GB, free: 89.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.819, allocations: 2.031 kB / 0.7426 GB, free: 89.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/1.819, allocations: 110.3 kB / 0.7427 GB, free: 89.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/1.819, allocations: 139.2 kB / 0.7428 GB, free: 89.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/1.82, allocations: 0.9209 MB / 0.7437 GB, free: 88.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.237e-05/1.821, allocations: 124.5 kB / 0.7438 GB, free: 88.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001112/1.821, allocations: 46.59 kB / 0.7439 GB, free: 88.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/1.821, allocations: 153 kB / 0.744 GB, free: 88.38 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/1.821, allocations: 5.219 kB / 0.744 GB, free: 88.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.04614/1.867, allocations: 58.72 MB / 0.8013 GB, free: 44.57 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: 6.493430290836841]