Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.4664/0.4664, allocations: 111.6 MB / 132.2 MB, free: 4.957 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 177.3 MB, free: 9.035 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.403e-05, allocations: 5.703 kB / 177.3 MB, free: 9.031 MB / 170.7 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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 0.9983/0.9983, allocations: 257.1 MB / 434.3 MB, free: 256 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3073/1.306, allocations: 178.2 MB / 0.5982 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/1.306, allocations: 7.938 kB / 0.5982 GB, free: 3.824 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78: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:32:3-33:80: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/PipePressureLoss.mo:26:3-27:80: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/PipePressureLoss.mo:28:3-29:78: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.0001085/1.306, allocations: 43.52 kB / 0.5982 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002713/1.306, allocations: 122.9 kB / 0.5983 GB, free: 3.66 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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:56:5-56:88: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.0206/1.327, allocations: 11.59 MB / 0.6097 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004339/1.327, allocations: 414.5 kB / 0.61 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/1.327, allocations: 169.1 kB / 0.6102 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/1.328, allocations: 251.5 kB / 0.6104 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/1.328, allocations: 115.7 kB / 0.6106 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/1.328, allocations: 32 kB / 0.6106 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02325/1.351, allocations: 18.64 MB / 0.6288 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/1.351, allocations: 87.67 kB / 0.6289 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/1.351, allocations: 131.7 kB / 0.629 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01887/1.37, allocations: 12.21 MB / 0.6409 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.37, allocations: 0 / 0.6409 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.052e-06/1.37, allocations: 0 / 0.6409 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.23e-06/1.37, allocations: 4 kB / 0.6409 GB, free: 7.945 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.003566/1.374, allocations: 1.879 MB / 0.6428 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/1.374, allocations: 11.98 kB / 0.6428 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.67e-05/1.374, allocations: 75.72 kB / 0.6429 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/1.374, allocations: 262.8 kB / 0.6431 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/1.374, allocations: 29 kB / 0.6431 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/1.374, allocations: 35.94 kB / 0.6432 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/1.374, allocations: 294.6 kB / 0.6434 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/1.375, allocations: 0 / 0.6434 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/1.375, allocations: 19.94 kB / 0.6435 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/1.375, allocations: 8 kB / 0.6435 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/1.375, allocations: 119 kB / 0.6436 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004009/1.379, allocations: 3.231 MB / 0.6467 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/1.379, allocations: 59.11 kB / 0.6468 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/1.379, allocations: 19.69 kB / 0.6468 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1034/1.482, allocations: 58.51 MB / 0.704 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/1.482, allocations: 33.39 kB / 0.704 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/1.482, allocations: 0 / 0.704 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005293/1.483, allocations: 179.3 kB / 0.7042 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/1.483, allocations: 51.41 kB / 0.7042 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/1.483, allocations: 342 kB / 0.7045 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/1.483, allocations: 25.7 kB / 0.7046 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/1.483, allocations: 282.7 kB / 0.7048 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/1.483, allocations: 27.78 kB / 0.7049 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/1.483, allocations: 75.23 kB / 0.7049 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.483, allocations: 0.5039 MB / 0.7054 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/1.483, allocations: 23.97 kB / 0.7054 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.534e-05/1.483, allocations: 166 kB / 0.7056 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/1.484, allocations: 195 kB / 0.7058 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.484, allocations: 4 kB / 0.7058 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002891/1.484, allocations: 221.9 kB / 0.706 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.484, allocations: 11.94 kB / 0.706 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.484, allocations: 4.688 kB / 0.706 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003643/1.484, allocations: 80.86 kB / 0.7061 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/1.484, allocations: 31.92 kB / 0.7061 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003202/1.485, allocations: 0.8331 MB / 0.7069 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/1.485, allocations: 27.78 kB / 0.707 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/1.485, allocations: 12 kB / 0.707 GB, free: 3.832 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (pipePressureLoss.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,pipePressureLoss.fluid,PuitsP1.fluid,SourceP1.C.ftype) * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.485, allocations: 172.5 kB / 0.7071 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/1.485, allocations: 27.89 kB / 0.7072 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/1.485, allocations: 150.7 kB / 0.7073 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.485, allocations: 0 / 0.7073 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/1.485, allocations: 7.938 kB / 0.7073 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.485, allocations: 1.5 kB / 0.7073 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/1.485, allocations: 185 kB / 0.7075 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.485, allocations: 0 / 0.7075 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-06/1.485, allocations: 0 / 0.7075 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/1.485, allocations: 55.64 kB / 0.7075 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/1.485, allocations: 4.562 kB / 0.7076 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002811/1.486, allocations: 0.8282 MB / 0.7084 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.486, allocations: 3.938 kB / 0.7084 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/1.486, allocations: 151.8 kB / 0.7085 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/1.486, allocations: 35.84 kB / 0.7085 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/1.486, allocations: 3.938 kB / 0.7085 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.536e-05/1.486, allocations: 7.984 kB / 0.7086 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/1.486, allocations: 7.984 kB / 0.7086 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/1.486, allocations: 4.125 kB / 0.7086 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.979e-05/1.486, allocations: 215 kB / 0.7088 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.486, allocations: 0 / 0.7088 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002738/1.489, allocations: 1.473 MB / 0.7102 GB, free: 412 kB / 0.6198 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1901/1.679, allocations: 2.492 MB / 0.7126 GB, free: 99.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002981/1.679, allocations: 94.45 kB / 0.7127 GB, free: 99.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.679, allocations: 0 / 0.7127 GB, free: 99.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.758e-05/1.679, allocations: 33.19 kB / 0.7128 GB, free: 99.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/1.68, allocations: 66.16 kB / 0.7128 GB, free: 99.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000893/1.681, allocations: 0.496 MB / 0.7133 GB, free: 98.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.465e-05/1.681, allocations: 87.72 kB / 0.7134 GB, free: 98.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.181e-05/1.681, allocations: 33.52 kB / 0.7134 GB, free: 98.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.804e-05/1.681, allocations: 114.4 kB / 0.7135 GB, free: 98.59 MB / 0.6198 GB Notification: Performance of SimCode: time 1.272e-06/1.681, allocations: 4.188 kB / 0.7135 GB, free: 98.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.0457/1.726, allocations: 54.45 MB / 0.7667 GB, free: 81.32 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.73943634191528]