Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.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.4829/0.4829, allocations: 111.6 MB / 131.7 MB, free: 5.074 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.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 176.5 MB, free: 9.484 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.671e-05, allocations: 5.703 kB / 176.5 MB, free: 9.48 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.TestBend): time 1.001/1.001, allocations: 257.1 MB / 433.6 MB, free: 248 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3314/1.332, allocations: 184.1 MB / 0.6032 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/1.332, allocations: 11.94 kB / 0.6032 GB, free: 14.26 MB / 0.5261 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/Bend.mo:42:3-43: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/Bend.mo:44:3-45:80: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.0002874/1.333, allocations: 211.1 kB / 0.6034 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003165/1.333, allocations: 286.5 kB / 0.6037 GB, free: 13.77 MB / 0.5261 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.01986/1.353, allocations: 12.58 MB / 0.616 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000481/1.353, allocations: 0.5649 MB / 0.6166 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/1.354, allocations: 257.4 kB / 0.6168 GB, free: 340 kB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/1.354, allocations: 359.2 kB / 0.6171 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/1.354, allocations: 323.3 kB / 0.6174 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/1.354, allocations: 44 kB / 0.6175 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02168/1.376, allocations: 19.72 MB / 0.6367 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/1.376, allocations: 219.3 kB / 0.637 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/1.376, allocations: 199.4 kB / 0.6371 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01502/1.391, allocations: 13.15 MB / 0.65 GB, free: 14.28 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.391, allocations: 0 / 0.65 GB, free: 14.28 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.392e-06/1.391, allocations: 0 / 0.65 GB, free: 14.28 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.695e-06/1.391, allocations: 7.938 kB / 0.65 GB, free: 14.27 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00311/1.394, allocations: 2.383 MB / 0.6523 GB, free: 11.84 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/1.394, allocations: 11.98 kB / 0.6523 GB, free: 11.82 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/1.395, allocations: 123.4 kB / 0.6524 GB, free: 11.7 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/1.395, allocations: 452.3 kB / 0.6529 GB, free: 11.23 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/1.395, allocations: 36.94 kB / 0.6529 GB, free: 11.2 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/1.395, allocations: 36 kB / 0.653 GB, free: 11.16 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/1.396, allocations: 445.6 kB / 0.6534 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.396, allocations: 0 / 0.6534 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/1.396, allocations: 16 kB / 0.6534 GB, free: 10.65 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/1.396, allocations: 12 kB / 0.6534 GB, free: 10.64 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/1.396, allocations: 171.7 kB / 0.6536 GB, free: 10.47 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004156/1.4, allocations: 3.792 MB / 0.6573 GB, free: 6.605 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/1.4, allocations: 104 kB / 0.6574 GB, free: 6.492 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/1.4, allocations: 35.67 kB / 0.6574 GB, free: 6.453 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2724/1.673, allocations: 89.02 MB / 0.7443 GB, free: 268.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/1.673, allocations: 38.27 kB / 0.7444 GB, free: 268.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/1.673, allocations: 0 / 0.7444 GB, free: 268.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001133/1.674, allocations: 364.3 kB / 0.7447 GB, free: 268.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/1.674, allocations: 106.8 kB / 0.7448 GB, free: 268.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005305/1.675, allocations: 0.7913 MB / 0.7456 GB, free: 267.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/1.675, allocations: 30.36 kB / 0.7456 GB, free: 267.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/1.675, allocations: 452 kB / 0.7461 GB, free: 267.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/1.675, allocations: 36.11 kB / 0.7461 GB, free: 267.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/1.675, allocations: 87.25 kB / 0.7462 GB, free: 267 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/1.675, allocations: 0.5634 MB / 0.7467 GB, free: 266.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/1.675, allocations: 39.97 kB / 0.7468 GB, free: 266.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/1.675, allocations: 277.5 kB / 0.747 GB, free: 266.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/1.675, allocations: 265.3 kB / 0.7473 GB, free: 265.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.675, allocations: 4.406 kB / 0.7473 GB, free: 265.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000599/1.676, allocations: 387.9 kB / 0.7477 GB, free: 265.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.676, allocations: 8.938 kB / 0.7477 GB, free: 265.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.676, allocations: 4 kB / 0.7477 GB, free: 265.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000674/1.677, allocations: 175.1 kB / 0.7478 GB, free: 265.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/1.677, allocations: 48.48 kB / 0.7479 GB, free: 265.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002843/1.677, allocations: 0.8683 MB / 0.7487 GB, free: 264.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/1.677, allocations: 37.42 kB / 0.7488 GB, free: 264.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/1.677, allocations: 16 kB / 0.7488 GB, free: 264.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 9.783e-05/1.677, allocations: 183.5 kB / 0.749 GB, free: 264 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/1.677, allocations: 72.14 kB / 0.749 GB, free: 263.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/1.678, allocations: 231 kB / 0.7492 GB, free: 263.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.678, allocations: 4 kB / 0.7492 GB, free: 263.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.678, allocations: 1.25 kB / 0.7492 GB, free: 263.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.678, allocations: 0 / 0.7492 GB, free: 263.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008153/1.678, allocations: 0.7849 MB / 0.75 GB, free: 262.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.678, allocations: 0 / 0.75 GB, free: 262.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/1.678, allocations: 4.875 kB / 0.75 GB, free: 262.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004398/1.679, allocations: 142.8 kB / 0.7502 GB, free: 262.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1.679, allocations: 7.234 kB / 0.7502 GB, free: 262.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002233/1.679, allocations: 0.8669 MB / 0.751 GB, free: 261.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.679, allocations: 3.938 kB / 0.751 GB, free: 261.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/1.68, allocations: 442.3 kB / 0.7514 GB, free: 261.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-05/1.68, allocations: 102.1 kB / 0.7515 GB, free: 261.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/1.68, allocations: 4 kB / 0.7515 GB, free: 261.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/1.68, allocations: 4 kB / 0.7515 GB, free: 261.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/1.68, allocations: 12.55 kB / 0.7515 GB, free: 261.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/1.68, allocations: 11.92 kB / 0.7516 GB, free: 261.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003057/1.68, allocations: 498.9 kB / 0.752 GB, free: 260.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/1.68, allocations: 4 kB / 0.752 GB, free: 260.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002347/1.682, allocations: 1.677 MB / 0.7537 GB, free: 259.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 2 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003879/1.686, allocations: 2.719 MB / 0.7563 GB, free: 256.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002712/1.687, allocations: 136.4 kB / 0.7565 GB, free: 256.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.687, allocations: 4.125 kB / 0.7565 GB, free: 256.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.171e-05/1.687, allocations: 53.56 kB / 0.7565 GB, free: 256.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/1.687, allocations: 97.88 kB / 0.7566 GB, free: 256.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/1.688, allocations: 0.985 MB / 0.7576 GB, free: 255.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.741e-05/1.688, allocations: 165.2 kB / 0.7577 GB, free: 255.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.57e-05/1.688, allocations: 52.94 kB / 0.7578 GB, free: 255.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/1.688, allocations: 32.5 kB / 0.7578 GB, free: 255.4 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/1.688, allocations: 0 / 0.7578 GB, free: 255.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.03651/1.725, allocations: 52.36 MB / 0.8089 GB, free: 203.2 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.448184428969398]