Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.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.4848/0.4848, 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.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.266e-06/3.266e-06, allocations: 0 / 176.5 MB, free: 8.98 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.587e-05, allocations: 6.312 kB / 176.5 MB, free: 8.973 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.TestSingularPressureLoss): time 1.1/1.1, allocations: 257 MB / 433.5 MB, free: 332 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02805/1.128, allocations: 32.46 MB / 466 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/1.128, allocations: 4 kB / 466 MB, free: 15.74 MB / 426.7 MB [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/SingularPressureLoss.mo:15:3-16: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/PressureLosses/SingularPressureLoss.mo:17:3-18:78:writable] Warning: Connector C2 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.0003392/1.129, allocations: 103.3 kB / 466.1 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/1.129, allocations: 115.2 kB / 466.2 MB, free: 15.52 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 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.02185/1.151, allocations: 9.787 MB / 476 MB, free: 5.691 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/1.151, allocations: 350.2 kB / 476.3 MB, free: 5.348 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/1.151, allocations: 84.88 kB / 476.4 MB, free: 5.262 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/1.152, allocations: 215.3 kB / 476.6 MB, free: 5.051 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/1.152, allocations: 79.73 kB / 476.7 MB, free: 4.973 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/1.152, allocations: 20 kB / 476.7 MB, free: 4.953 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1989/1.351, allocations: 16.77 MB / 493.5 MB, free: 9.18 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/1.351, allocations: 46.05 kB / 493.6 MB, free: 9.18 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/1.351, allocations: 82.12 kB / 493.6 MB, free: 9.18 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01771/1.369, allocations: 10.73 MB / 0.4925 GB, free: 6.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.369, allocations: 0 / 0.4925 GB, free: 6.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.402e-06/1.369, allocations: 1.281 kB / 0.4925 GB, free: 6.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.395e-06/1.369, allocations: 3.281 kB / 0.4925 GB, free: 6.34 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.003129/1.372, allocations: 1.496 MB / 0.494 GB, free: 5.273 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.372, allocations: 11.95 kB / 0.494 GB, free: 5.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/1.372, allocations: 46.47 kB / 0.4941 GB, free: 5.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/1.372, allocations: 173.5 kB / 0.4942 GB, free: 5.078 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/1.372, allocations: 10.91 kB / 0.4942 GB, free: 5.074 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/1.372, allocations: 21.56 kB / 0.4943 GB, free: 5.066 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/1.372, allocations: 235.3 kB / 0.4945 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.372, allocations: 5.969 kB / 0.4945 GB, free: 4.887 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.372, allocations: 7.156 kB / 0.4945 GB, free: 4.883 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/1.372, allocations: 12.55 kB / 0.4945 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/1.372, allocations: 78.92 kB / 0.4946 GB, free: 4.859 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.01385/1.386, allocations: 9.668 MB / 0.504 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/1.386, allocations: 66.98 kB / 0.5041 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/1.386, allocations: 24.55 kB / 0.5041 GB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06262/1.449, allocations: 38.15 MB / 0.5414 GB, free: 9.238 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/1.449, allocations: 37.39 kB / 0.5414 GB, free: 9.191 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 2.164e-06/1.449, allocations: 0 / 0.5414 GB, free: 9.191 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005098/1.45, allocations: 212.6 kB / 0.5416 GB, free: 8.977 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/1.45, allocations: 55.41 kB / 0.5417 GB, free: 8.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/1.45, allocations: 227.2 kB / 0.5419 GB, free: 8.691 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/1.45, allocations: 29.7 kB / 0.5419 GB, free: 8.656 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/1.45, allocations: 199.6 kB / 0.5421 GB, free: 8.461 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/1.45, allocations: 110.6 kB / 0.5422 GB, free: 8.359 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/1.45, allocations: 59.5 kB / 0.5423 GB, free: 8.301 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/1.45, allocations: 0.5061 MB / 0.5427 GB, free: 7.793 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.784e-05/1.45, allocations: 24.31 kB / 0.5428 GB, free: 7.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.903e-05/1.45, allocations: 83.3 kB / 0.5429 GB, free: 7.672 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/1.45, allocations: 131.4 kB / 0.543 GB, free: 7.539 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.45, allocations: 3.938 kB / 0.543 GB, free: 7.535 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002062/1.45, allocations: 179.5 kB / 0.5432 GB, free: 7.359 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.45, allocations: 7.75 kB / 0.5432 GB, free: 7.355 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.45, allocations: 4 kB / 0.5432 GB, free: 7.352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/1.451, allocations: 88.16 kB / 0.5432 GB, free: 7.266 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.143e-05/1.451, allocations: 12 kB / 0.5433 GB, free: 7.254 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003688/1.451, allocations: 0.8515 MB / 0.5441 GB, free: 6.379 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/1.451, allocations: 27.77 kB / 0.5441 GB, free: 6.352 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/1.451, allocations: 4 kB / 0.5441 GB, free: 6.348 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,singularPressureLoss.C1.a,singularPressureLoss.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 8.596e-05/1.451, allocations: 164.6 kB / 0.5443 GB, free: 6.176 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/1.451, allocations: 15.86 kB / 0.5443 GB, free: 6.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/1.452, allocations: 0.6033 MB / 0.5449 GB, free: 5.539 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001318/1.452, allocations: 149.2 kB / 0.545 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/1.452, allocations: 3.188 kB / 0.545 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.452, allocations: 0 / 0.545 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/1.452, allocations: 0.5365 MB / 0.5456 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.452, allocations: 0 / 0.5456 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/1.453, allocations: 15.98 kB / 0.5456 GB, free: 4.832 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001599/1.453, allocations: 71.62 kB / 0.5456 GB, free: 4.758 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/1.453, allocations: 4 kB / 0.5456 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003143/1.453, allocations: 0.8552 MB / 0.5465 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.453, allocations: 0 / 0.5465 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/1.453, allocations: 312.1 kB / 0.5468 GB, free: 3.562 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/1.453, allocations: 23.89 kB / 0.5468 GB, free: 3.539 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/1.453, allocations: 12.33 kB / 0.5468 GB, free: 3.527 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.337e-05/1.453, allocations: 4.656 kB / 0.5468 GB, free: 3.523 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/1.453, allocations: 11.98 kB / 0.5468 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/1.453, allocations: 0 / 0.5468 GB, free: 3.512 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.125e-05/1.453, allocations: 202.2 kB / 0.547 GB, free: 3.316 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/1.453, allocations: 0 / 0.547 GB, free: 3.316 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002542/1.456, allocations: 1.204 MB / 0.5482 GB, free: 2.109 MB / 474.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 (11): * Single equations (assignments): 10 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003897/1.46, allocations: 1.99 MB / 0.5501 GB, free: 356 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003235/1.46, allocations: 156 kB / 0.5503 GB, free: 196 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.46, allocations: 0 / 0.5503 GB, free: 196 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.143e-05/1.46, allocations: 70.34 kB / 0.5503 GB, free: 128 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/1.461, allocations: 116.5 kB / 0.5505 GB, free: 16 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008685/1.462, allocations: 469.8 kB / 0.5509 GB, free: 15.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.875e-05/1.462, allocations: 92.25 kB / 0.551 GB, free: 15.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.936e-05/1.462, allocations: 23.2 kB / 0.551 GB, free: 15.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/1.462, allocations: 134.1 kB / 0.5511 GB, free: 15.28 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/1.462, allocations: 0 / 0.5511 GB, free: 15.28 MB / 490.7 MB Notification: Performance of Templates: time 0.0474/1.509, allocations: 49.5 MB / 0.5995 GB, free: 14 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.056946977972984]