Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.8678/0.8678, allocations: 153.9 MB / 172.7 MB, free: 4.953 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.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005651/0.0005651, allocations: 11.97 kB / 250.4 MB, free: 3.965 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1595, allocations: 33.36 MB / 283.7 MB, free: 2.141 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.Fluid.Examples.SimpleExamples.TestSingularPressureLoss): time 1.899/2.059, allocations: 307.5 MB / 0.5774 GB, free: 16.05 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2219/2.281, allocations: 191 MB / 0.7638 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/2.281, allocations: 7.938 kB / 0.7638 GB, free: 6.141 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001529/2.281, allocations: 44.28 kB / 0.7639 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003378/2.281, allocations: 115 kB / 0.764 GB, free: 5.984 MB / 0.6231 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.02957/2.311, allocations: 11.64 MB / 0.7754 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005828/2.312, allocations: 382.7 kB / 0.7757 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/2.312, allocations: 153.1 kB / 0.7759 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/2.312, allocations: 159.4 kB / 0.776 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/2.312, allocations: 163.3 kB / 0.7762 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/2.312, allocations: 32 kB / 0.7762 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03599/2.348, allocations: 19.97 MB / 0.7957 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001716/2.349, allocations: 83.7 kB / 0.7958 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002292/2.349, allocations: 187 kB / 0.796 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0216/2.37, allocations: 9.786 MB / 0.8055 GB, free: 11.4 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/2.37, allocations: 0 / 0.8055 GB, free: 11.4 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.064e-06/2.37, allocations: 0 / 0.8055 GB, free: 11.4 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.621e-05/2.37, allocations: 0 / 0.8055 GB, free: 11.4 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004463/2.375, allocations: 1.768 MB / 0.8072 GB, free: 9.59 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/2.375, allocations: 12.02 kB / 0.8073 GB, free: 9.578 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.429e-05/2.375, allocations: 47.72 kB / 0.8073 GB, free: 9.531 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/2.375, allocations: 243.5 kB / 0.8075 GB, free: 9.27 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/2.375, allocations: 32.94 kB / 0.8076 GB, free: 9.238 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/2.375, allocations: 31.98 kB / 0.8076 GB, free: 9.207 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/2.376, allocations: 356.8 kB / 0.8079 GB, free: 8.836 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/2.376, allocations: 0 / 0.8079 GB, free: 8.836 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/2.376, allocations: 12 kB / 0.808 GB, free: 8.824 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/2.376, allocations: 9.312 kB / 0.808 GB, free: 8.816 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/2.377, allocations: 218.5 kB / 0.8082 GB, free: 8.605 MB / 0.67 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.008034/2.385, allocations: 3.768 MB / 0.8118 GB, free: 4.633 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/2.385, allocations: 54.59 kB / 0.8119 GB, free: 4.57 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/2.385, allocations: 16.89 kB / 0.8119 GB, free: 4.551 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3293/2.714, allocations: 43.93 MB / 0.8548 GB, free: 297.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/2.714, allocations: 34.94 kB / 0.8549 GB, free: 297.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=5): time 1.964e-06/2.714, allocations: 0 / 0.8549 GB, free: 297.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=5): time 0.0006337/2.715, allocations: 154.6 kB / 0.855 GB, free: 297.6 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/2.715, allocations: 54.31 kB / 0.8551 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/2.715, allocations: 334.8 kB / 0.8554 GB, free: 297.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/2.715, allocations: 30.73 kB / 0.8554 GB, free: 297.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/2.715, allocations: 231.9 kB / 0.8556 GB, free: 297.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/2.715, allocations: 22.06 kB / 0.8556 GB, free: 297.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/2.715, allocations: 53.75 kB / 0.8557 GB, free: 297.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.18e-05/2.715, allocations: 339.6 kB / 0.856 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/2.715, allocations: 37.09 kB / 0.8561 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/2.716, allocations: 131.5 kB / 0.8562 GB, free: 296.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/2.716, allocations: 189.6 kB / 0.8564 GB, free: 296.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/2.716, allocations: 0 / 0.8564 GB, free: 296.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004196/2.716, allocations: 247.5 kB / 0.8566 GB, free: 296.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/2.716, allocations: 9.344 kB / 0.8566 GB, free: 296.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/2.716, allocations: 4 kB / 0.8566 GB, free: 296.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007954/2.717, allocations: 120.5 kB / 0.8567 GB, free: 296.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/2.717, allocations: 38.66 kB / 0.8568 GB, free: 296.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003031/2.717, allocations: 0.5667 MB / 0.8573 GB, free: 296.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/2.718, allocations: 28.66 kB / 0.8573 GB, free: 296.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/2.718, allocations: 11.91 kB / 0.8574 GB, free: 296.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (singularPressureLoss.fluid,SourceP1.C.ftype,PuitsP1.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001265/2.718, allocations: 155.2 kB / 0.8575 GB, free: 296 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/2.718, allocations: 31.59 kB / 0.8575 GB, free: 295.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/2.718, allocations: 139.8 kB / 0.8577 GB, free: 295.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/2.718, allocations: 6.828 kB / 0.8577 GB, free: 295.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/2.718, allocations: 0 / 0.8577 GB, free: 295.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/2.718, allocations: 7.875 kB / 0.8577 GB, free: 295.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/2.718, allocations: 281.7 kB / 0.8579 GB, free: 295.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/2.718, allocations: 0 / 0.8579 GB, free: 295.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/2.718, allocations: 0 / 0.8579 GB, free: 295.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003825/2.719, allocations: 70.2 kB / 0.858 GB, free: 295.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/2.719, allocations: 3.5 kB / 0.858 GB, free: 295.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002496/2.719, allocations: 0.5575 MB / 0.8586 GB, free: 295.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/2.719, allocations: 2.344 kB / 0.8586 GB, free: 295.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/2.719, allocations: 139 kB / 0.8587 GB, free: 295 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/2.719, allocations: 50.42 kB / 0.8587 GB, free: 295 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/2.719, allocations: 0 / 0.8587 GB, free: 295 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/2.719, allocations: 4.062 kB / 0.8587 GB, free: 295 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/2.719, allocations: 14.95 kB / 0.8588 GB, free: 295 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/2.719, allocations: 0 / 0.8588 GB, free: 295 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001947/2.72, allocations: 240.2 kB / 0.859 GB, free: 294.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/2.72, allocations: 0 / 0.859 GB, free: 294.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003022/2.723, allocations: 1.464 MB / 0.8604 GB, free: 294.8 MB / 0.6856 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 (2): * Single equations (assignments): 1 * 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.00607/2.729, allocations: 2.209 MB / 0.8626 GB, free: 294 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004048/2.729, allocations: 98.64 kB / 0.8627 GB, free: 294 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/2.729, allocations: 0 / 0.8627 GB, free: 294 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 9.709e-05/2.729, allocations: 27.98 kB / 0.8627 GB, free: 293.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/2.73, allocations: 69.98 kB / 0.8628 GB, free: 293.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008484/2.73, allocations: 490.9 kB / 0.8632 GB, free: 293.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/2.731, allocations: 0.7713 MB / 0.864 GB, free: 292.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001107/2.731, allocations: 37.47 kB / 0.864 GB, free: 292.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/2.731, allocations: 22.94 kB / 0.864 GB, free: 292.6 MB / 0.6856 GB Notification: Performance of SimCode: time 4.01e-07/2.731, allocations: 0 / 0.864 GB, free: 292.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.04937/2.78, allocations: 45.55 MB / 0.9085 GB, free: 247.7 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.025549459969625] Failed to read output from testmodel.py, exit status != 0: 2.9057303129229695 2.916192225 0.543522143 Calling exit ...