Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.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.957/0.957, allocations: 153.8 MB / 173.4 MB, free: 4.949 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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005411/0.0005411, allocations: 15.97 kB / 251 MB, free: 4.008 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.183, allocations: 33.37 MB / 284.4 MB, free: 2.133 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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.886/2.069, allocations: 307.4 MB / 0.5779 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03433/2.103, allocations: 34.7 MB / 0.6118 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003359/2.103, allocations: 2.156 kB / 0.6118 GB, free: 14.39 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/PipePressureLoss.mo:35:3-37:42: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/PipePressureLoss.mo:38:3-40:37: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.0004754/2.104, allocations: 129.4 kB / 0.612 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/2.104, allocations: 117.2 kB / 0.6121 GB, free: 14.25 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.0282/2.132, allocations: 9.82 MB / 0.6217 GB, free: 8.816 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007112/2.133, allocations: 352.1 kB / 0.622 GB, free: 8.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/2.133, allocations: 92.77 kB / 0.6221 GB, free: 8.383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000324/2.134, allocations: 159.3 kB / 0.6222 GB, free: 8.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/2.134, allocations: 103.5 kB / 0.6223 GB, free: 8.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/2.134, allocations: 20.88 kB / 0.6223 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03736/2.171, allocations: 17.93 MB / 0.6399 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/2.171, allocations: 47.78 kB / 0.6399 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/2.172, allocations: 127.4 kB / 0.64 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02189/2.193, allocations: 8.439 MB / 0.6483 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/2.193, allocations: 0 / 0.6483 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.823e-06/2.193, allocations: 0 / 0.6483 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.036e-05/2.193, allocations: 0 / 0.6483 GB, free: 13.53 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.004228/2.198, allocations: 1.415 MB / 0.6496 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/2.198, allocations: 12.03 kB / 0.6497 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/2.198, allocations: 30.81 kB / 0.6497 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/2.198, allocations: 188.6 kB / 0.6499 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/2.198, allocations: 16.44 kB / 0.6499 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/2.198, allocations: 16.75 kB / 0.6499 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/2.199, allocations: 299.4 kB / 0.6502 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/2.199, allocations: 3.938 kB / 0.6502 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/2.199, allocations: 8 kB / 0.6502 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/2.199, allocations: 11.98 kB / 0.6502 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/2.199, allocations: 173.2 kB / 0.6504 GB, free: 11.29 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.036/2.235, allocations: 11.24 MB / 0.6613 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/2.235, allocations: 118.6 kB / 0.6615 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/2.235, allocations: 69.97 kB / 0.6615 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1478/2.383, allocations: 43.41 MB / 0.7039 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/2.383, allocations: 36.38 kB / 0.704 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/2.383, allocations: 0 / 0.704 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001123/2.384, allocations: 367.6 kB / 0.7043 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/2.384, allocations: 51.41 kB / 0.7044 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/2.385, allocations: 224.9 kB / 0.7046 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/2.385, allocations: 25.7 kB / 0.7046 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/2.385, allocations: 148.8 kB / 0.7047 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/2.385, allocations: 115 kB / 0.7048 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/2.385, allocations: 53.64 kB / 0.7049 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001621/2.385, allocations: 346.8 kB / 0.7052 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/2.385, allocations: 65.02 kB / 0.7053 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/2.385, allocations: 120.2 kB / 0.7054 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/2.386, allocations: 209.8 kB / 0.7056 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/2.386, allocations: 0 / 0.7056 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004858/2.386, allocations: 301.5 kB / 0.7059 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/2.386, allocations: 4.625 kB / 0.7059 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/2.386, allocations: 5.016 kB / 0.7059 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009247/2.387, allocations: 156.8 kB / 0.7061 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.851e-05/2.387, allocations: 19.92 kB / 0.7061 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006548/2.388, allocations: 0.6281 MB / 0.7067 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/2.388, allocations: 35.7 kB / 0.7067 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/2.388, allocations: 8.781 kB / 0.7067 GB, free: 1.23 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 (pipePressureLoss.C2.b,pipePressureLoss.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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00017/2.388, allocations: 133.8 kB / 0.7069 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/2.388, allocations: 23.8 kB / 0.7069 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008569/2.389, allocations: 0.5861 MB / 0.7075 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004432/2.389, allocations: 219.4 kB / 0.7077 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/2.389, allocations: 0.5625 kB / 0.7077 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/2.389, allocations: 0 / 0.7077 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/2.391, allocations: 0.7016 MB / 0.7083 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/2.391, allocations: 4 kB / 0.7084 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-05/2.391, allocations: 15.98 kB / 0.7084 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004178/2.391, allocations: 118.6 kB / 0.7085 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/2.391, allocations: 1.438 kB / 0.7085 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000665/2.392, allocations: 0.6552 MB / 0.7091 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/2.392, allocations: 8 kB / 0.7091 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/2.392, allocations: 337.1 kB / 0.7094 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/2.392, allocations: 31.78 kB / 0.7095 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/2.392, allocations: 16.64 kB / 0.7095 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/2.393, allocations: 4 kB / 0.7095 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/2.393, allocations: 11.97 kB / 0.7095 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/2.393, allocations: 8.938 kB / 0.7095 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002855/2.393, allocations: 235.1 kB / 0.7097 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/2.393, allocations: 0 / 0.7097 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003789/2.397, allocations: 1.2 MB / 0.7109 GB, free: 12.76 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006381/2.403, allocations: 1.748 MB / 0.7126 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007629/2.404, allocations: 217.5 kB / 0.7128 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/2.404, allocations: 0 / 0.7128 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/2.404, allocations: 85.08 kB / 0.7129 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008374/2.405, allocations: 127.9 kB / 0.713 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/2.406, allocations: 0.5488 MB / 0.7136 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/2.406, allocations: 0.7683 MB / 0.7143 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/2.406, allocations: 19.44 kB / 0.7143 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/2.406, allocations: 0 / 0.7143 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of Templates: time 0.04244/2.449, allocations: 24.98 MB / 0.7387 GB, free: 0.668 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.348133895080537] Failed to read output from testmodel.py, exit status != 0: 2.6364528930280358 2.890530172 0.69457773 Calling exit ...