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.8642/0.8642, allocations: 153.8 MB / 172.7 MB, free: 4.84 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.0005347/0.0005347, allocations: 15.97 kB / 250.3 MB, free: 3.871 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1553, allocations: 33.36 MB / 283.7 MB, free: 2.039 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.83/1.986, allocations: 307.6 MB / 0.5774 GB, free: 17.47 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1986/2.184, allocations: 164.7 MB / 0.7382 GB, free: 372 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000289/2.184, allocations: 7.938 kB / 0.7382 GB, free: 364 kB / 0.5919 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.0001504/2.185, allocations: 43.58 kB / 0.7383 GB, free: 320 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003582/2.185, allocations: 111 kB / 0.7384 GB, free: 208 kB / 0.5919 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.03078/2.216, allocations: 11.46 MB / 0.7496 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006256/2.216, allocations: 368.5 kB / 0.7499 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/2.217, allocations: 169 kB / 0.7501 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/2.217, allocations: 153.9 kB / 0.7502 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/2.217, allocations: 139.3 kB / 0.7504 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.822e-05/2.217, allocations: 32 kB / 0.7504 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03513/2.252, allocations: 18.61 MB / 0.7686 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/2.252, allocations: 83.7 kB / 0.7687 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002215/2.253, allocations: 151.3 kB / 0.7688 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02009/2.273, allocations: 9.786 MB / 0.7784 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/2.273, allocations: 0 / 0.7784 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.493e-06/2.273, allocations: 0 / 0.7784 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.037e-06/2.273, allocations: 0 / 0.7784 GB, free: 7.223 MB / 0.6387 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.004366/2.277, allocations: 1.76 MB / 0.7801 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/2.277, allocations: 8.031 kB / 0.7801 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.918e-05/2.277, allocations: 47.72 kB / 0.7801 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/2.278, allocations: 253.4 kB / 0.7804 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/2.278, allocations: 25 kB / 0.7804 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/2.278, allocations: 32 kB / 0.7804 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/2.278, allocations: 348.9 kB / 0.7808 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/2.278, allocations: 0 / 0.7808 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/2.278, allocations: 16 kB / 0.7808 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/2.278, allocations: 13.06 kB / 0.7808 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/2.279, allocations: 211.9 kB / 0.781 GB, free: 4.438 MB / 0.6387 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.007678/2.287, allocations: 3.074 MB / 0.784 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/2.287, allocations: 50.59 kB / 0.784 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/2.287, allocations: 20.89 kB / 0.7841 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.155/2.442, allocations: 44.11 MB / 0.8271 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/2.442, allocations: 42.5 kB / 0.8272 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/2.442, allocations: 0 / 0.8272 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of matching and sorting (n=5): time 0.000641/2.442, allocations: 154.2 kB / 0.8273 GB, free: 4.875 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/2.443, allocations: 51.41 kB / 0.8274 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/2.443, allocations: 304 kB / 0.8277 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/2.443, allocations: 25.7 kB / 0.8277 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/2.443, allocations: 235.9 kB / 0.8279 GB, free: 4.238 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/2.443, allocations: 23.81 kB / 0.8279 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/2.443, allocations: 67.11 kB / 0.828 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001472/2.443, allocations: 334.8 kB / 0.8283 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.961e-05/2.444, allocations: 39.83 kB / 0.8284 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/2.444, allocations: 137.7 kB / 0.8285 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/2.444, allocations: 181.5 kB / 0.8287 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/2.444, allocations: 4 kB / 0.8287 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004981/2.444, allocations: 236.8 kB / 0.8289 GB, free: 3.117 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/2.444, allocations: 8 kB / 0.8289 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/2.444, allocations: 7.938 kB / 0.8289 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008284/2.445, allocations: 119.4 kB / 0.829 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/2.445, allocations: 39.92 kB / 0.8291 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004948/2.446, allocations: 0.5601 MB / 0.8296 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/2.446, allocations: 28.72 kB / 0.8296 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/2.446, allocations: 11.98 kB / 0.8296 GB, free: 2.32 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.0001777/2.446, allocations: 149.8 kB / 0.8298 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/2.446, allocations: 31.86 kB / 0.8298 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/2.447, allocations: 141.5 kB / 0.8299 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/2.447, allocations: 0 / 0.8299 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/2.447, allocations: 2.469 kB / 0.8299 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/2.447, allocations: 9.078 kB / 0.83 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/2.447, allocations: 205.2 kB / 0.8302 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/2.447, allocations: 5.5 kB / 0.8302 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/2.447, allocations: 4 kB / 0.8302 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004135/2.447, allocations: 64.78 kB / 0.8302 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/2.447, allocations: 4 kB / 0.8302 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004471/2.448, allocations: 0.5549 MB / 0.8308 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/2.448, allocations: 8.094 kB / 0.8308 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/2.448, allocations: 142.4 kB / 0.8309 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/2.448, allocations: 35.83 kB / 0.8309 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/2.448, allocations: 1.188 kB / 0.8309 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.276e-05/2.448, allocations: 7.984 kB / 0.831 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/2.448, allocations: 4 kB / 0.831 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/2.448, allocations: 3.938 kB / 0.831 GB, free: 0.8711 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002305/2.449, allocations: 203.1 kB / 0.8312 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/2.449, allocations: 0 / 0.8312 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.1747/2.623, allocations: 1.46 MB / 0.8326 GB, free: 302.2 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.005558/2.629, allocations: 2.214 MB / 0.8347 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003918/2.629, allocations: 99.3 kB / 0.8348 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/2.629, allocations: 1.312 kB / 0.8348 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/2.629, allocations: 31.34 kB / 0.8349 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/2.63, allocations: 60.27 kB / 0.8349 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007892/2.631, allocations: 484.5 kB / 0.8354 GB, free: 301.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/2.631, allocations: 169.7 kB / 0.8356 GB, free: 301.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001065/2.631, allocations: 30.64 kB / 0.8356 GB, free: 301.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/2.631, allocations: 22.34 kB / 0.8356 GB, free: 301.7 MB / 0.6856 GB Notification: Performance of SimCode: time 4e-07/2.631, allocations: 0.7656 kB / 0.8356 GB, free: 301.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.04595/2.677, allocations: 45.46 MB / 0.88 GB, free: 276.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: 8.605968562886119] Failed to read output from testmodel.py, exit status != 0: 2.798026015982032 2.8063403829999998 0.5313807509999999 Calling exit ...