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.8498/0.8498, allocations: 153.8 MB / 173.4 MB, free: 4.961 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.0005116/0.0005116, allocations: 15.98 kB / 251.1 MB, free: 3.965 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1582, allocations: 33.37 MB / 284.5 MB, free: 2.16 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.908/2.066, allocations: 307.4 MB / 0.578 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03191/2.098, allocations: 34.69 MB / 0.6119 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/2.098, allocations: 2.656 kB / 0.6119 GB, free: 14.27 MB / 494.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.0004351/2.098, allocations: 130.9 kB / 0.612 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/2.099, allocations: 114.8 kB / 0.6121 GB, free: 14.12 MB / 494.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.02859/2.127, allocations: 9.82 MB / 0.6217 GB, free: 8.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006407/2.128, allocations: 330.5 kB / 0.622 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/2.128, allocations: 89.86 kB / 0.6221 GB, free: 8.094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/2.128, allocations: 149.3 kB / 0.6223 GB, free: 7.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/2.128, allocations: 103.5 kB / 0.6224 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/2.129, allocations: 16 kB / 0.6224 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03767/2.166, allocations: 17.92 MB / 0.6399 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/2.166, allocations: 39.86 kB / 0.6399 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001977/2.166, allocations: 135.3 kB / 0.6401 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02115/2.188, allocations: 8.423 MB / 0.6483 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/2.188, allocations: 0 / 0.6483 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/2.188, allocations: 4 kB / 0.6483 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.832e-06/2.188, allocations: 0 / 0.6483 GB, free: 13.28 MB / 0.5137 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.004222/2.192, allocations: 1.403 MB / 0.6497 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/2.192, allocations: 8.031 kB / 0.6497 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/2.192, allocations: 27.81 kB / 0.6497 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/2.192, allocations: 166.6 kB / 0.6499 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/2.192, allocations: 16.38 kB / 0.6499 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/2.192, allocations: 20 kB / 0.6499 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/2.193, allocations: 295.8 kB / 0.6502 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/2.193, allocations: 0 / 0.6502 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/2.193, allocations: 5.125 kB / 0.6502 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/2.193, allocations: 15.98 kB / 0.6502 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/2.193, allocations: 165.3 kB / 0.6503 GB, free: 11.09 MB / 0.5137 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.03783/2.231, allocations: 11.24 MB / 0.6613 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/2.231, allocations: 98.53 kB / 0.6614 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.972e-05/2.231, allocations: 64.97 kB / 0.6615 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1583/2.39, allocations: 43.41 MB / 0.7039 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/2.39, allocations: 38.56 kB / 0.7039 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.144e-06/2.39, allocations: 0 / 0.7039 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0008627/2.39, allocations: 320 kB / 0.7042 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/2.391, allocations: 51.41 kB / 0.7043 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/2.391, allocations: 215.7 kB / 0.7045 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/2.391, allocations: 26.64 kB / 0.7045 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/2.391, allocations: 156.6 kB / 0.7046 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.751e-05/2.391, allocations: 107.1 kB / 0.7047 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/2.391, allocations: 49.64 kB / 0.7048 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001577/2.391, allocations: 338.8 kB / 0.7051 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/2.391, allocations: 68.31 kB / 0.7052 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/2.391, allocations: 112.2 kB / 0.7053 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/2.392, allocations: 211.6 kB / 0.7055 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/2.392, allocations: 0 / 0.7055 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004603/2.392, allocations: 278.8 kB / 0.7057 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/2.392, allocations: 4 kB / 0.7058 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/2.392, allocations: 4 kB / 0.7058 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009026/2.393, allocations: 146.4 kB / 0.7059 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.883e-05/2.393, allocations: 7.984 kB / 0.7059 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000583/2.394, allocations: 0.6109 MB / 0.7065 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/2.394, allocations: 31.69 kB / 0.7065 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/2.394, allocations: 8 kB / 0.7065 GB, free: 1.195 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.0001351/2.394, allocations: 134.8 kB / 0.7067 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/2.394, allocations: 19.86 kB / 0.7067 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007635/2.395, allocations: 0.555 MB / 0.7072 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000354/2.395, allocations: 203.9 kB / 0.7074 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/2.395, allocations: 0 / 0.7074 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/2.395, allocations: 0 / 0.7074 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008869/2.396, allocations: 0.6501 MB / 0.7081 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/2.396, allocations: 3.938 kB / 0.7081 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/2.396, allocations: 16.64 kB / 0.7081 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003729/2.397, allocations: 113.8 kB / 0.7082 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/2.397, allocations: 4 kB / 0.7082 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005267/2.397, allocations: 0.6284 MB / 0.7088 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/2.397, allocations: 4.031 kB / 0.7088 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/2.397, allocations: 301.3 kB / 0.7091 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/2.397, allocations: 36.42 kB / 0.7091 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/2.398, allocations: 16.55 kB / 0.7091 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/2.398, allocations: 0.6875 kB / 0.7091 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/2.398, allocations: 11.98 kB / 0.7092 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/2.398, allocations: 4 kB / 0.7092 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002589/2.398, allocations: 233.2 kB / 0.7094 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.398, allocations: 0 / 0.7094 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003001/2.401, allocations: 1.2 MB / 0.7106 GB, free: 12.9 MB / 0.5762 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.005858/2.407, allocations: 1.744 MB / 0.7123 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006194/2.407, allocations: 213.5 kB / 0.7125 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/2.407, allocations: 0 / 0.7125 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/2.408, allocations: 83.8 kB / 0.7125 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007617/2.408, allocations: 129.1 kB / 0.7127 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009538/2.409, allocations: 0.5073 MB / 0.7132 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/2.41, allocations: 0.7635 MB / 0.7139 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/2.41, allocations: 19.44 kB / 0.7139 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/2.41, allocations: 0 / 0.7139 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of Templates: time 0.03831/2.448, allocations: 24.87 MB / 0.7382 GB, free: 0.9688 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.852734754094854] Failed to read output from testmodel.py, exit status != 0: 2.620764284161851 2.8653085860000003 0.674972357 Calling exit ...