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.4789/0.4789, allocations: 111.6 MB / 131.7 MB, free: 5.07 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 1.593e-06/1.593e-06, allocations: 0 / 176.5 MB, free: 9.43 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.353e-05, allocations: 2.312 kB / 176.5 MB, free: 9.426 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.069/1.069, allocations: 256.9 MB / 433.4 MB, free: 124 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02696/1.096, allocations: 32.96 MB / 466.4 MB, free: 15.03 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/1.096, allocations: 4 kB / 466.4 MB, free: 15.03 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.0003057/1.097, allocations: 95.41 kB / 466.5 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/1.097, allocations: 119.1 kB / 466.6 MB, free: 14.82 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.01698/1.114, allocations: 9.798 MB / 476.4 MB, free: 4.988 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004168/1.114, allocations: 338.3 kB / 476.7 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/1.114, allocations: 96.84 kB / 476.8 MB, free: 4.562 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/1.115, allocations: 215.3 kB / 477 MB, free: 4.352 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/1.115, allocations: 75.8 kB / 477.1 MB, free: 4.277 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/1.115, allocations: 16 kB / 477.1 MB, free: 4.262 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0199/1.135, allocations: 16.78 MB / 493.9 MB, free: 3.449 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/1.135, allocations: 43.83 kB / 494 MB, free: 3.406 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/1.135, allocations: 79.78 kB / 494 MB, free: 3.328 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.203/1.338, allocations: 10.71 MB / 0.4929 GB, free: 20 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.338, allocations: 1.156 kB / 0.4929 GB, free: 20 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.478e-06/1.338, allocations: 0 / 0.4929 GB, free: 20 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/1.338, allocations: 0 / 0.4929 GB, free: 20 MB / 442.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.004702/1.342, allocations: 1.497 MB / 0.4944 GB, free: 19.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.342, allocations: 13.8 kB / 0.4944 GB, free: 19.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/1.343, allocations: 40.66 kB / 0.4944 GB, free: 19.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/1.343, allocations: 174.5 kB / 0.4946 GB, free: 18.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/1.343, allocations: 17.34 kB / 0.4946 GB, free: 18.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/1.343, allocations: 16.84 kB / 0.4946 GB, free: 18.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/1.343, allocations: 253.8 kB / 0.4949 GB, free: 18.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.343, allocations: 2.188 kB / 0.4949 GB, free: 18.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/1.343, allocations: 9.531 kB / 0.4949 GB, free: 18.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/1.343, allocations: 15.11 kB / 0.4949 GB, free: 18.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/1.343, allocations: 88.25 kB / 0.495 GB, free: 18.78 MB / 442.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.01783/1.361, allocations: 11.12 MB / 0.5058 GB, free: 17.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/1.361, allocations: 73.2 kB / 0.5059 GB, free: 17.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/1.361, allocations: 37.12 kB / 0.5059 GB, free: 17.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07071/1.432, allocations: 43.73 MB / 0.5486 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/1.432, allocations: 37.39 kB / 0.5487 GB, free: 15.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 1.933e-06/1.432, allocations: 0 / 0.5487 GB, free: 15.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005521/1.433, allocations: 233.3 kB / 0.5489 GB, free: 14.87 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/1.433, allocations: 51.41 kB / 0.549 GB, free: 14.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/1.433, allocations: 224.4 kB / 0.5492 GB, free: 14.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/1.433, allocations: 25.7 kB / 0.5492 GB, free: 14.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/1.433, allocations: 213.7 kB / 0.5494 GB, free: 14.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/1.433, allocations: 105.8 kB / 0.5495 GB, free: 14.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/1.433, allocations: 58.44 kB / 0.5496 GB, free: 14.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/1.433, allocations: 0.5061 MB / 0.55 GB, free: 13.71 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/1.433, allocations: 24.33 kB / 0.5501 GB, free: 13.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/1.433, allocations: 93.31 kB / 0.5502 GB, free: 13.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/1.433, allocations: 142.2 kB / 0.5503 GB, free: 13.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.433, allocations: 4 kB / 0.5503 GB, free: 13.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002215/1.433, allocations: 202.5 kB / 0.5505 GB, free: 13.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.433, allocations: 4 kB / 0.5505 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.433, allocations: 4 kB / 0.5505 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/1.434, allocations: 111.6 kB / 0.5506 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.421e-05/1.434, allocations: 11 kB / 0.5506 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003707/1.434, allocations: 0.8536 MB / 0.5515 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/1.434, allocations: 23.28 kB / 0.5515 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/1.434, allocations: 4 kB / 0.5515 GB, free: 12.26 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 (singularPressureLoss.C2.b,singularPressureLoss.C1.a,PuitsP1.C.a,SourceP1.C.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.398e-05/1.435, allocations: 163.8 kB / 0.5516 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/1.435, allocations: 23.84 kB / 0.5517 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/1.435, allocations: 0.5869 MB / 0.5522 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001475/1.435, allocations: 150.7 kB / 0.5524 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.435, allocations: 0 / 0.5524 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.435, allocations: 0 / 0.5524 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/1.436, allocations: 0.5901 MB / 0.553 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.436, allocations: 0 / 0.553 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/1.436, allocations: 21.77 kB / 0.553 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000175/1.436, allocations: 86.38 kB / 0.5531 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/1.436, allocations: 2.562 kB / 0.5531 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003039/1.436, allocations: 0.8569 MB / 0.5539 GB, free: 9.848 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.436, allocations: 0 / 0.5539 GB, free: 9.848 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/1.436, allocations: 314 kB / 0.5542 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/1.436, allocations: 27.28 kB / 0.5542 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/1.436, allocations: 18.06 kB / 0.5542 GB, free: 9.504 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/1.436, allocations: 5.281 kB / 0.5542 GB, free: 9.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/1.436, allocations: 11.8 kB / 0.5543 GB, free: 9.492 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/1.436, allocations: 4 kB / 0.5543 GB, free: 9.488 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001246/1.437, allocations: 212.2 kB / 0.5545 GB, free: 9.293 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.437, allocations: 4 kB / 0.5545 GB, free: 9.289 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003213/1.44, allocations: 1.203 MB / 0.5556 GB, free: 8.16 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.003293/1.443, allocations: 1.904 MB / 0.5575 GB, free: 6.551 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003289/1.443, allocations: 171.8 kB / 0.5577 GB, free: 6.395 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.443, allocations: 0 / 0.5577 GB, free: 6.395 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/1.444, allocations: 74.44 kB / 0.5577 GB, free: 6.328 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/1.444, allocations: 110.1 kB / 0.5578 GB, free: 6.238 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008915/1.445, allocations: 485.7 kB / 0.5583 GB, free: 5.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.522e-05/1.445, allocations: 84.31 kB / 0.5584 GB, free: 5.668 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.26e-05/1.445, allocations: 23.3 kB / 0.5584 GB, free: 5.648 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/1.445, allocations: 20.5 kB / 0.5584 GB, free: 5.629 MB / 474.7 MB Notification: Performance of SimCode: time 1.202e-06/1.445, allocations: 1.859 kB / 0.5584 GB, free: 5.629 MB / 474.7 MB Notification: Performance of Templates: time 0.03649/1.481, allocations: 42.73 MB / 0.6002 GB, free: 11.17 MB / 0.5105 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: 4.7659328589215875]