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.5041/0.5041, allocations: 111.6 MB / 131.2 MB, free: 5.059 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.763e-06/1.763e-06, allocations: 0 / 176.2 MB, free: 9.191 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.767e-05, allocations: 5.047 kB / 176.2 MB, free: 9.188 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.039/1.039, allocations: 257 MB / 433.2 MB, free: 452 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02752/1.066, allocations: 33.06 MB / 466.2 MB, free: 15.26 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.332e-05/1.066, allocations: 7.938 kB / 466.2 MB, free: 15.25 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.0002731/1.067, allocations: 99.41 kB / 466.3 MB, free: 15.15 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/1.067, allocations: 115.1 kB / 466.5 MB, free: 15.04 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.0156/1.082, allocations: 9.799 MB / 476.3 MB, free: 5.195 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/1.083, allocations: 338.3 kB / 476.6 MB, free: 4.863 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/1.083, allocations: 96.84 kB / 476.7 MB, free: 4.766 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/1.083, allocations: 211.3 kB / 476.9 MB, free: 4.559 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/1.083, allocations: 75.73 kB / 477 MB, free: 4.484 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/1.083, allocations: 20 kB / 477 MB, free: 4.465 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2067/1.29, allocations: 16.77 MB / 493.7 MB, free: 8.781 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/1.29, allocations: 43.06 kB / 493.8 MB, free: 8.781 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/1.29, allocations: 88.78 kB / 493.9 MB, free: 8.781 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/1.301, allocations: 10.72 MB / 0.4928 GB, free: 5.547 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.301, allocations: 1.344 kB / 0.4928 GB, free: 5.547 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/1.301, allocations: 0 / 0.4928 GB, free: 5.547 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/1.301, allocations: 0 / 0.4928 GB, free: 5.547 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.002098/1.303, allocations: 1.496 MB / 0.4942 GB, free: 4.465 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/1.303, allocations: 13.8 kB / 0.4942 GB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/1.303, allocations: 45.7 kB / 0.4943 GB, free: 4.438 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/1.303, allocations: 173 kB / 0.4945 GB, free: 4.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/1.303, allocations: 15.59 kB / 0.4945 GB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/1.303, allocations: 17.41 kB / 0.4945 GB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/1.303, allocations: 250.5 kB / 0.4947 GB, free: 4.066 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/1.303, allocations: 7.312 kB / 0.4947 GB, free: 4.062 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.303, allocations: 13.25 kB / 0.4947 GB, free: 4.055 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/1.303, allocations: 13.55 kB / 0.4948 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/1.303, allocations: 87.64 kB / 0.4948 GB, free: 4.027 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.01655/1.32, allocations: 11.1 MB / 0.5057 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/1.32, allocations: 78.97 kB / 0.5058 GB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/1.32, allocations: 36.61 kB / 0.5058 GB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07382/1.394, allocations: 43.74 MB / 0.5485 GB, free: 1.508 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/1.394, allocations: 37.39 kB / 0.5485 GB, free: 1.461 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 1.873e-06/1.394, allocations: 0 / 0.5485 GB, free: 1.461 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005078/1.394, allocations: 226.8 kB / 0.5488 GB, free: 1.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/1.394, allocations: 51.41 kB / 0.5488 GB, free: 1.168 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/1.395, allocations: 231.8 kB / 0.549 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/1.395, allocations: 25.7 kB / 0.549 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/1.395, allocations: 206.1 kB / 0.5492 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/1.395, allocations: 106.2 kB / 0.5493 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/1.395, allocations: 63.3 kB / 0.5494 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/1.395, allocations: 0.504 MB / 0.5499 GB, free: 8 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/1.395, allocations: 32.31 kB / 0.5499 GB, free: 15.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/1.395, allocations: 91.06 kB / 0.55 GB, free: 15.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/1.395, allocations: 132.4 kB / 0.5501 GB, free: 15.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.395, allocations: 0 / 0.5501 GB, free: 15.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002149/1.395, allocations: 203.5 kB / 0.5503 GB, free: 15.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.395, allocations: 12.12 kB / 0.5503 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.395, allocations: 3.984 kB / 0.5504 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/1.396, allocations: 108.5 kB / 0.5505 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.179e-05/1.396, allocations: 11.98 kB / 0.5505 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003629/1.396, allocations: 0.8654 MB / 0.5513 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/1.396, allocations: 19.78 kB / 0.5513 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/1.396, allocations: 8 kB / 0.5513 GB, free: 14.47 MB / 490.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 7.603e-05/1.396, allocations: 161 kB / 0.5515 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/1.396, allocations: 23.86 kB / 0.5515 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/1.397, allocations: 0.587 MB / 0.5521 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001509/1.397, allocations: 149.2 kB / 0.5522 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.397, allocations: 4.906 kB / 0.5522 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/1.397, allocations: 0 / 0.5522 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/1.397, allocations: 0.5926 MB / 0.5528 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.397, allocations: 0 / 0.5528 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/1.397, allocations: 12 kB / 0.5528 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001691/1.398, allocations: 88.48 kB / 0.5529 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/1.398, allocations: 3.719 kB / 0.5529 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002895/1.398, allocations: 0.8611 MB / 0.5538 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.398, allocations: 3.984 kB / 0.5538 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/1.398, allocations: 313.3 kB / 0.5541 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/1.398, allocations: 23.83 kB / 0.5541 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/1.398, allocations: 16.45 kB / 0.5541 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.546e-05/1.398, allocations: 0 / 0.5541 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/1.398, allocations: 11.98 kB / 0.5541 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/1.398, allocations: 4 kB / 0.5541 GB, free: 11.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002368/1.398, allocations: 220 kB / 0.5543 GB, free: 11.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/1.398, allocations: 0 / 0.5543 GB, free: 11.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00189/1.4, allocations: 1.208 MB / 0.5555 GB, free: 10.01 MB / 490.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.003036/1.403, allocations: 1.902 MB / 0.5574 GB, free: 8.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000303/1.404, allocations: 175.4 kB / 0.5575 GB, free: 8.168 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/1.404, allocations: 0 / 0.5575 GB, free: 8.168 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/1.404, allocations: 75.58 kB / 0.5576 GB, free: 8.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/1.404, allocations: 113.2 kB / 0.5577 GB, free: 7.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008456/1.405, allocations: 473.1 kB / 0.5582 GB, free: 7.504 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.082e-05/1.405, allocations: 92.25 kB / 0.5582 GB, free: 7.395 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.307e-05/1.405, allocations: 15.98 kB / 0.5583 GB, free: 7.383 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/1.405, allocations: 20.5 kB / 0.5583 GB, free: 7.363 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/1.405, allocations: 0 / 0.5583 GB, free: 7.363 MB / 490.7 MB Notification: Performance of Templates: time 0.03573/1.441, allocations: 42.74 MB / 0.6 GB, free: 12.93 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.17514340300113]