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.8482/0.8482, allocations: 153.8 MB / 173.4 MB, free: 4.883 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.0005449/0.0005449, allocations: 19.97 kB / 251 MB, free: 3.879 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1556, allocations: 33.35 MB / 284.4 MB, free: 2.066 MB / 222.1 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.856/2.012, allocations: 307.5 MB / 0.5781 GB, free: 17.45 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03022/2.042, allocations: 30.51 MB / 0.6078 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/2.042, allocations: 2.562 kB / 0.6078 GB, free: 2.953 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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:33:3-34:47: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:25:3-27:16: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:28:3-29:52: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.0003822/2.042, allocations: 103.2 kB / 0.6079 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/2.043, allocations: 113.4 kB / 0.6081 GB, free: 2.832 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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.02382/2.066, allocations: 9.691 MB / 0.6175 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000564/2.067, allocations: 334.5 kB / 0.6178 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/2.067, allocations: 85.55 kB / 0.6179 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/2.067, allocations: 144 kB / 0.6181 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/2.068, allocations: 95.2 kB / 0.6181 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/2.068, allocations: 20 kB / 0.6182 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03238/2.1, allocations: 16.75 MB / 0.6345 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.59e-05/2.1, allocations: 44.97 kB / 0.6346 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/2.1, allocations: 107.5 kB / 0.6347 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01768/2.118, allocations: 8.435 MB / 0.6429 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/2.118, allocations: 0 / 0.6429 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/2.118, allocations: 4 kB / 0.6429 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.662e-06/2.118, allocations: 0 / 0.6429 GB, free: 3.047 MB / 0.4981 GB 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.003337/2.121, allocations: 1.392 MB / 0.6443 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/2.121, allocations: 8.031 kB / 0.6443 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/2.121, allocations: 27.81 kB / 0.6443 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/2.122, allocations: 168.8 kB / 0.6445 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/2.122, allocations: 16.38 kB / 0.6445 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/2.122, allocations: 20 kB / 0.6445 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004548/2.122, allocations: 295.8 kB / 0.6448 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/2.122, allocations: 0.6562 kB / 0.6448 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/2.122, allocations: 12.69 kB / 0.6448 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/2.122, allocations: 8 kB / 0.6448 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/2.122, allocations: 162.1 kB / 0.645 GB, free: 0.8633 MB / 0.4981 GB 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.03715/2.16, allocations: 10.77 MB / 0.6555 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/2.16, allocations: 106.5 kB / 0.6556 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.717e-05/2.16, allocations: 68.97 kB / 0.6556 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1671/2.327, allocations: 43.57 MB / 0.6982 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/2.327, allocations: 42.5 kB / 0.6982 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.226e-06/2.327, allocations: 1.406 kB / 0.6982 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.000841/2.328, allocations: 327.8 kB / 0.6985 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/2.328, allocations: 51.41 kB / 0.6986 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/2.328, allocations: 166.1 kB / 0.6987 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/2.328, allocations: 25.7 kB / 0.6988 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/2.328, allocations: 156.6 kB / 0.6989 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.287e-05/2.328, allocations: 111 kB / 0.699 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/2.328, allocations: 41.7 kB / 0.6991 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001663/2.329, allocations: 338.8 kB / 0.6994 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/2.329, allocations: 68.31 kB / 0.6994 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/2.329, allocations: 113.8 kB / 0.6996 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/2.329, allocations: 209.5 kB / 0.6998 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/2.329, allocations: 0 / 0.6998 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004275/2.33, allocations: 274.2 kB / 0.7 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/2.33, allocations: 12.62 kB / 0.7 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/2.33, allocations: 1.188 kB / 0.7 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008427/2.331, allocations: 145.5 kB / 0.7002 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.279e-05/2.331, allocations: 12 kB / 0.7002 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005685/2.331, allocations: 0.6031 MB / 0.7008 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.764e-05/2.331, allocations: 24.44 kB / 0.7008 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/2.331, allocations: 7.938 kB / 0.7008 GB, free: 7.438 MB / 0.5606 GB 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 0.000141/2.331, allocations: 134.7 kB / 0.7009 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/2.331, allocations: 15.86 kB / 0.7009 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007673/2.332, allocations: 0.5623 MB / 0.7015 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003483/2.333, allocations: 203.2 kB / 0.7017 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/2.333, allocations: 0 / 0.7017 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/2.333, allocations: 0 / 0.7017 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007742/2.333, allocations: 0.5723 MB / 0.7022 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/2.333, allocations: 4 kB / 0.7023 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.188e-05/2.333, allocations: 19.98 kB / 0.7023 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000359/2.334, allocations: 104.7 kB / 0.7024 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/2.334, allocations: 8 kB / 0.7024 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005335/2.334, allocations: 0.6358 MB / 0.703 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/2.334, allocations: 0 / 0.703 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/2.335, allocations: 301.2 kB / 0.7033 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/2.335, allocations: 23.89 kB / 0.7033 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/2.335, allocations: 11.89 kB / 0.7033 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-05/2.335, allocations: 12.94 kB / 0.7033 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/2.335, allocations: 7.984 kB / 0.7033 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/2.335, allocations: 4 kB / 0.7033 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000223/2.335, allocations: 204.2 kB / 0.7035 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/2.335, allocations: 0 / 0.7035 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002865/2.338, allocations: 1.209 MB / 0.7047 GB, free: 3.25 MB / 0.5606 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 (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.004531/2.342, allocations: 1.738 MB / 0.7064 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005525/2.343, allocations: 202.5 kB / 0.7066 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/2.343, allocations: 0 / 0.7066 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/2.343, allocations: 81.47 kB / 0.7067 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/2.344, allocations: 104.5 kB / 0.7068 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/2.345, allocations: 0.5238 MB / 0.7073 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/2.345, allocations: 151.5 kB / 0.7074 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/2.345, allocations: 19.44 kB / 0.7075 GB, free: 436 kB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/2.345, allocations: 0 / 0.7075 GB, free: 436 kB / 0.5606 GB Notification: Performance of Templates: time 0.03735/2.382, allocations: 24.7 MB / 0.7316 GB, free: 8.129 MB / 0.5919 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.457433216273785] Failed to read output from testmodel.py, exit status != 0: 2.5631815241649747 2.578876761 0.45767236499999997 Calling exit ...