Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.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.5018/0.5018, allocations: 111.6 MB / 131.2 MB, free: 4.609 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.TestCentrifugalPump13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 176.2 MB, free: 9.172 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.357e-05, allocations: 4.703 kB / 176.2 MB, free: 9.168 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.TestCentrifugalPump13): time 1.028/1.028, allocations: 257.1 MB / 433.3 MB, free: 348 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02493/1.053, allocations: 29.98 MB / 463.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/1.053, allocations: 4 kB / 463.3 MB, free: 2.242 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:64:3-65:80:writable] Warning: Connector C1 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/Machines/CentrifugalPump.mo:66:3-67:78:writable] Warning: Connector C2 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/Machines/CentrifugalPump.mo:70:3-71:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:16:3-17: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/Sink.mo:10:3-11: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.000306/1.054, allocations: 111.3 kB / 463.4 MB, free: 2.133 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/1.054, allocations: 117.1 kB / 463.5 MB, free: 2.016 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. [/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. Notification: Performance of NFTyping.typeClassSections: time 0.01501/1.069, allocations: 8.673 MB / 472.2 MB, free: 9.312 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004342/1.069, allocations: 462.1 kB / 472.7 MB, free: 8.859 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/1.069, allocations: 184.7 kB / 472.8 MB, free: 8.676 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/1.07, allocations: 271.3 kB / 473.1 MB, free: 8.41 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/1.07, allocations: 139.6 kB / 473.2 MB, free: 8.273 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/1.07, allocations: 32 kB / 473.3 MB, free: 8.242 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1871/1.257, allocations: 14.3 MB / 487.6 MB, free: 10.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/1.257, allocations: 195.7 kB / 487.8 MB, free: 10.43 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/1.257, allocations: 153.2 kB / 487.9 MB, free: 10.43 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/1.269, allocations: 9.892 MB / 497.8 MB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.269, allocations: 6.938 kB / 497.8 MB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.269, allocations: 1.5 kB / 497.8 MB, free: 10.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/1.269, allocations: 0 / 497.8 MB, free: 10.13 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.003377/1.273, allocations: 1.935 MB / 499.7 MB, free: 8.953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/1.273, allocations: 14.42 kB / 499.8 MB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/1.273, allocations: 114.7 kB / 499.9 MB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/1.273, allocations: 374.1 kB / 0.4885 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/1.273, allocations: 28.34 kB / 0.4885 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/1.273, allocations: 26.56 kB / 0.4886 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/1.274, allocations: 415.8 kB / 0.489 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.274, allocations: 0.625 kB / 0.489 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/1.274, allocations: 10.62 kB / 0.489 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/1.274, allocations: 16.14 kB / 0.489 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/1.274, allocations: 323.4 kB / 0.4893 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/1.275, allocations: 1.728 MB / 0.491 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/1.276, allocations: 390.8 kB / 0.4913 GB, free: 7.484 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/1.276, allocations: 147.3 kB / 0.4915 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03592/1.312, allocations: 22.69 MB / 0.5136 GB, free: 7.027 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/1.312, allocations: 45.39 kB / 0.5137 GB, free: 6.973 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 2.023e-06/1.312, allocations: 0 / 0.5137 GB, free: 6.973 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.001386/1.313, allocations: 0.7552 MB / 0.5144 GB, free: 6.215 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/1.313, allocations: 55.34 kB / 0.5145 GB, free: 6.148 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/1.314, allocations: 0.7259 MB / 0.5152 GB, free: 5.406 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/1.314, allocations: 29.7 kB / 0.5152 GB, free: 5.371 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/1.314, allocations: 439 kB / 0.5156 GB, free: 4.938 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/1.314, allocations: 122 kB / 0.5157 GB, free: 4.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/1.314, allocations: 75.67 kB / 0.5158 GB, free: 4.738 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/1.314, allocations: 0.4943 MB / 0.5163 GB, free: 4.238 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/1.314, allocations: 124.8 kB / 0.5164 GB, free: 4.113 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/1.314, allocations: 209.7 kB / 0.5166 GB, free: 3.887 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/1.315, allocations: 348 kB / 0.517 GB, free: 3.527 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.315, allocations: 4 kB / 0.517 GB, free: 3.523 MB / 442.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005274/1.315, allocations: 0.533 MB / 0.5175 GB, free: 2.992 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.315, allocations: 4 kB / 0.5175 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.315, allocations: 0 / 0.5175 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/1.317, allocations: 0.5961 MB / 0.5181 GB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/1.317, allocations: 51.14 kB / 0.5181 GB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006627/1.318, allocations: 0.9528 MB / 0.519 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/1.318, allocations: 51.64 kB / 0.5191 GB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/1.318, allocations: 15.94 kB / 0.5191 GB, free: 1.297 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001217/1.318, allocations: 171.6 kB / 0.5193 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/1.318, allocations: 88.23 kB / 0.5194 GB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/1.319, allocations: 0.584 MB / 0.5199 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003927/1.319, allocations: 440.1 kB / 0.5203 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.319, allocations: 0 / 0.5203 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/1.319, allocations: 0 / 0.5203 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/1.32, allocations: 1.222 MB / 0.5215 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.32, allocations: 0 / 0.5215 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/1.32, allocations: 46.88 kB / 0.5216 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008178/1.321, allocations: 338.9 kB / 0.5219 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/1.321, allocations: 6.406 kB / 0.5219 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004677/1.322, allocations: 0.9746 MB / 0.5229 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.322, allocations: 0 / 0.5229 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/1.322, allocations: 0.6649 MB / 0.5235 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/1.322, allocations: 99.33 kB / 0.5236 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/1.322, allocations: 12.5 kB / 0.5236 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/1.323, allocations: 19.92 kB / 0.5236 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/1.323, allocations: 23.95 kB / 0.5237 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/1.323, allocations: 9.25 kB / 0.5237 GB, free: 12.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002911/1.323, allocations: 454.9 kB / 0.5241 GB, free: 12.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/1.323, allocations: 0 / 0.5241 GB, free: 12.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002273/1.325, allocations: 1.165 MB / 0.5252 GB, free: 10.93 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 (24): * Single equations (assignments): 23 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003094/1.328, allocations: 1.773 MB / 0.527 GB, free: 9.375 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006017/1.329, allocations: 460.9 kB / 0.5274 GB, free: 8.918 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.329, allocations: 0 / 0.5274 GB, free: 8.918 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/1.329, allocations: 244.2 kB / 0.5276 GB, free: 8.684 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/1.33, allocations: 98.08 kB / 0.5277 GB, free: 8.594 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/1.331, allocations: 1.304 MB / 0.529 GB, free: 7.273 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/1.331, allocations: 193.1 kB / 0.5292 GB, free: 7.062 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001036/1.331, allocations: 34.64 kB / 0.5292 GB, free: 7.035 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/1.331, allocations: 32.48 kB / 0.5293 GB, free: 7 MB / 458.7 MB Notification: Performance of SimCode: time 7.61e-07/1.331, allocations: 0 / 0.5293 GB, free: 7 MB / 458.7 MB Notification: Performance of Templates: time 0.04564/1.377, allocations: 50.51 MB / 0.5786 GB, free: 4.727 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.401193619240075]