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.8086/0.8086, allocations: 111.6 MB / 131 MB, free: 5.09 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.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 2.645e-06/2.645e-06, allocations: 0 / 175.6 MB, free: 9.535 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.971e-05, allocations: 2.312 kB / 175.6 MB, free: 9.531 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.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.716/1.716, allocations: 254.6 MB / 430.3 MB, free: 168 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0534/1.77, allocations: 32.93 MB / 463.2 MB, free: 15.12 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/1.77, allocations: 4 kB / 463.2 MB, free: 15.12 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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:19:3-20:80: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:21:3-22:80: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:23:3-24:78: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.0004305/1.77, allocations: 111.3 kB / 463.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/1.771, allocations: 119.1 kB / 463.4 MB, free: 14.89 MB / 426.7 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.03016/1.801, allocations: 9.791 MB / 473.2 MB, free: 5.066 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007138/1.802, allocations: 366.1 kB / 473.6 MB, free: 4.707 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/1.802, allocations: 96.78 kB / 473.7 MB, free: 4.613 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004114/1.802, allocations: 219.4 kB / 473.9 MB, free: 4.398 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/1.802, allocations: 79.73 kB / 474 MB, free: 4.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/1.802, allocations: 20 kB / 474 MB, free: 4.301 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03681/1.839, allocations: 16.78 MB / 490.8 MB, free: 3.488 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/1.839, allocations: 43.83 kB / 490.8 MB, free: 3.445 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/1.84, allocations: 87.78 kB / 490.9 MB, free: 3.359 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2394/2.079, allocations: 10.81 MB / 0.49 GB, free: 20.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/2.079, allocations: 2.375 kB / 0.49 GB, free: 20.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.412e-06/2.079, allocations: 0 / 0.49 GB, free: 20.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/2.079, allocations: 0 / 0.49 GB, free: 20.07 MB / 442.7 MB 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.006725/2.086, allocations: 1.521 MB / 0.4914 GB, free: 19.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/2.086, allocations: 13.23 kB / 0.4915 GB, free: 19.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.948e-05/2.086, allocations: 45.42 kB / 0.4915 GB, free: 19.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/2.086, allocations: 177.6 kB / 0.4917 GB, free: 18.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/2.086, allocations: 16.28 kB / 0.4917 GB, free: 18.97 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/2.086, allocations: 19.5 kB / 0.4917 GB, free: 18.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/2.086, allocations: 288.9 kB / 0.492 GB, free: 18.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/2.086, allocations: 3.25 kB / 0.492 GB, free: 18.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/2.086, allocations: 15.81 kB / 0.492 GB, free: 18.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/2.086, allocations: 12.8 kB / 0.492 GB, free: 18.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/2.087, allocations: 121.1 kB / 0.4921 GB, free: 18.86 MB / 442.7 MB 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.03584/2.123, allocations: 11.19 MB / 0.5031 GB, free: 17.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/2.123, allocations: 97.12 kB / 0.5031 GB, free: 17.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.344e-05/2.123, allocations: 43.23 kB / 0.5032 GB, free: 17.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1593/2.282, allocations: 43.75 MB / 0.5459 GB, free: 15.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/2.282, allocations: 34.81 kB / 0.5459 GB, free: 15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 1.704e-06/2.282, allocations: 0 / 0.5459 GB, free: 15 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.001086/2.283, allocations: 299.8 kB / 0.5462 GB, free: 14.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/2.283, allocations: 55.41 kB / 0.5463 GB, free: 14.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/2.284, allocations: 259.5 kB / 0.5465 GB, free: 14.44 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/2.284, allocations: 25.7 kB / 0.5466 GB, free: 14.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/2.284, allocations: 210.1 kB / 0.5468 GB, free: 14.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/2.284, allocations: 126 kB / 0.5469 GB, free: 14.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/2.284, allocations: 64.42 kB / 0.5469 GB, free: 14.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000407/2.284, allocations: 0.5188 MB / 0.5474 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/2.284, allocations: 44.7 kB / 0.5475 GB, free: 13.51 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/2.285, allocations: 111.6 kB / 0.5476 GB, free: 13.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/2.285, allocations: 181.6 kB / 0.5478 GB, free: 13.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/2.285, allocations: 0 / 0.5478 GB, free: 13.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004572/2.285, allocations: 247.9 kB / 0.548 GB, free: 13.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/2.285, allocations: 12 kB / 0.548 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/2.285, allocations: 0 / 0.548 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008248/2.286, allocations: 137.9 kB / 0.5481 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.208e-05/2.286, allocations: 11.75 kB / 0.5482 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008418/2.287, allocations: 0.9159 MB / 0.549 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/2.287, allocations: 21.66 kB / 0.5491 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/2.287, allocations: 11.98 kB / 0.5491 GB, free: 11.96 MB / 474.7 MB 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.0002075/2.288, allocations: 182.8 kB / 0.5493 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/2.288, allocations: 23.8 kB / 0.5493 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/2.289, allocations: 0.7027 MB / 0.55 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003903/2.289, allocations: 199.2 kB / 0.5502 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/2.289, allocations: 5.312 kB / 0.5502 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/2.289, allocations: 0 / 0.5502 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/2.29, allocations: 0.6934 MB / 0.5508 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/2.29, allocations: 0 / 0.5508 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/2.29, allocations: 15.98 kB / 0.5508 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/2.291, allocations: 91.47 kB / 0.5509 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/2.291, allocations: 10.86 kB / 0.5509 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007117/2.291, allocations: 0.8915 MB / 0.5518 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/2.291, allocations: 0 / 0.5518 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/2.292, allocations: 375 kB / 0.5522 GB, free: 9.031 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/2.292, allocations: 23.52 kB / 0.5522 GB, free: 9.012 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/2.292, allocations: 10.14 kB / 0.5522 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/2.292, allocations: 7.062 kB / 0.5522 GB, free: 9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/2.292, allocations: 11.92 kB / 0.5522 GB, free: 8.988 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/2.292, allocations: 7.703 kB / 0.5522 GB, free: 8.984 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002809/2.292, allocations: 263.2 kB / 0.5525 GB, free: 8.766 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/2.292, allocations: 0 / 0.5525 GB, free: 8.766 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005403/2.298, allocations: 1.207 MB / 0.5537 GB, free: 7.633 MB / 474.7 MB 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.01036/2.308, allocations: 1.902 MB / 0.5555 GB, free: 6.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006384/2.309, allocations: 211.6 kB / 0.5557 GB, free: 5.844 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.309, allocations: 0 / 0.5557 GB, free: 5.844 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/2.309, allocations: 86.41 kB / 0.5558 GB, free: 5.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008043/2.31, allocations: 118.6 kB / 0.5559 GB, free: 5.672 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/2.311, allocations: 497.6 kB / 0.5564 GB, free: 5.199 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/2.311, allocations: 160.8 kB / 0.5565 GB, free: 5.027 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.65e-05/2.311, allocations: 19.14 kB / 0.5566 GB, free: 5.008 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/2.311, allocations: 20.5 kB / 0.5566 GB, free: 4.988 MB / 474.7 MB Notification: Performance of SimCode: time 8.02e-07/2.311, allocations: 0 / 0.5566 GB, free: 4.988 MB / 474.7 MB Notification: Performance of Templates: time 0.07799/2.389, allocations: 42.87 MB / 0.5984 GB, free: 10.43 MB / 0.5105 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.518472388968803]