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.8767/0.8767, allocations: 153.8 MB / 173.4 MB, free: 4.887 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.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 0.0005642/0.0005642, allocations: 19.97 kB / 251 MB, free: 3.914 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1805, allocations: 33.35 MB / 284.4 MB, free: 2.055 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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.926/2.107, allocations: 307.6 MB / 0.578 GB, free: 17.36 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2124/2.319, allocations: 164.7 MB / 0.7389 GB, free: 56 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003951/2.32, allocations: 7.938 kB / 0.7389 GB, free: 48 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/PipePressureLoss.mo:33:3-34: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/PipePressureLoss.mo:35:3-36: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.0002222/2.32, allocations: 51.62 kB / 0.739 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005161/2.32, allocations: 115 kB / 0.7391 GB, free: 15.88 MB / 0.6075 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.03091/2.351, allocations: 11.46 MB / 0.7503 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006156/2.352, allocations: 390.8 kB / 0.7507 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/2.352, allocations: 165 kB / 0.7508 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/2.352, allocations: 159.4 kB / 0.751 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/2.353, allocations: 151.1 kB / 0.7511 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/2.353, allocations: 32 kB / 0.7511 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03461/2.387, allocations: 18.61 MB / 0.7693 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/2.387, allocations: 87.69 kB / 0.7694 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/2.388, allocations: 155.3 kB / 0.7695 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02131/2.409, allocations: 9.798 MB / 0.7791 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/2.409, allocations: 0 / 0.7791 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.963e-06/2.409, allocations: 3.938 kB / 0.7791 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.739e-06/2.409, allocations: 0 / 0.7791 GB, free: 6.84 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.004512/2.414, allocations: 1.768 MB / 0.7808 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/2.414, allocations: 12.03 kB / 0.7809 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.7e-05/2.414, allocations: 49.55 kB / 0.7809 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/2.414, allocations: 247.5 kB / 0.7811 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/2.414, allocations: 29 kB / 0.7812 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/2.414, allocations: 35.94 kB / 0.7812 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005887/2.415, allocations: 356.9 kB / 0.7815 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/2.415, allocations: 1.188 kB / 0.7815 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/2.415, allocations: 16 kB / 0.7816 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/2.415, allocations: 15.75 kB / 0.7816 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/2.415, allocations: 226.4 kB / 0.7818 GB, free: 4.016 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.007582/2.423, allocations: 3.091 MB / 0.7848 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/2.423, allocations: 82.56 kB / 0.7849 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.11e-05/2.423, allocations: 24.86 kB / 0.7849 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4315/2.855, allocations: 67.11 MB / 0.8504 GB, free: 302.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/2.855, allocations: 32.06 kB / 0.8505 GB, free: 302.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/2.855, allocations: 0 / 0.8505 GB, free: 302.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7): time 0.0008076/2.855, allocations: 207.2 kB / 0.8507 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/2.855, allocations: 53.31 kB / 0.8507 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/2.856, allocations: 306.6 kB / 0.851 GB, free: 302 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/2.856, allocations: 27.77 kB / 0.851 GB, free: 301.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/2.856, allocations: 234.4 kB / 0.8513 GB, free: 301.8 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/2.856, allocations: 36.22 kB / 0.8513 GB, free: 301.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.001e-05/2.856, allocations: 58.8 kB / 0.8514 GB, free: 301.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.779e-05/2.856, allocations: 332.4 kB / 0.8517 GB, free: 301.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-05/2.856, allocations: 44.7 kB / 0.8517 GB, free: 301.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/2.856, allocations: 137.1 kB / 0.8518 GB, free: 301.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/2.856, allocations: 189.6 kB / 0.852 GB, free: 301.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/2.856, allocations: 0 / 0.852 GB, free: 301.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004684/2.857, allocations: 283.4 kB / 0.8523 GB, free: 301.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/2.857, allocations: 5.094 kB / 0.8523 GB, free: 301.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/2.857, allocations: 3.281 kB / 0.8523 GB, free: 301.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008318/2.858, allocations: 132.3 kB / 0.8524 GB, free: 301.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/2.858, allocations: 38.03 kB / 0.8525 GB, free: 301.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003257/2.858, allocations: 0.5882 MB / 0.853 GB, free: 300.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/2.858, allocations: 27.5 kB / 0.8531 GB, free: 300.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/2.858, allocations: 12.25 kB / 0.8531 GB, free: 300.6 MB / 0.6856 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 (SourceP1.C.ftype,PuitsP1.fluid,pipePressureLoss.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,pipePressureLoss.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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001312/2.859, allocations: 158.8 kB / 0.8532 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/2.859, allocations: 23.7 kB / 0.8533 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/2.859, allocations: 168.7 kB / 0.8534 GB, free: 300.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/2.859, allocations: 3.703 kB / 0.8534 GB, free: 300.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/2.859, allocations: 0 / 0.8534 GB, free: 300.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/2.859, allocations: 1.125 kB / 0.8534 GB, free: 300.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/2.859, allocations: 220.7 kB / 0.8536 GB, free: 300.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/2.859, allocations: 0 / 0.8536 GB, free: 300.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/2.859, allocations: 1.469 kB / 0.8536 GB, free: 300.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004347/2.86, allocations: 83.23 kB / 0.8537 GB, free: 300.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/2.86, allocations: 2.266 kB / 0.8537 GB, free: 300.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002764/2.86, allocations: 0.5923 MB / 0.8543 GB, free: 299.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.86, allocations: 6.672 kB / 0.8543 GB, free: 299.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/2.86, allocations: 162 kB / 0.8544 GB, free: 299.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/2.86, allocations: 41.02 kB / 0.8545 GB, free: 299.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/2.86, allocations: 5.562 kB / 0.8545 GB, free: 299.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/2.86, allocations: 5.031 kB / 0.8545 GB, free: 299.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/2.86, allocations: 5.594 kB / 0.8545 GB, free: 299.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/2.86, allocations: 2.062 kB / 0.8545 GB, free: 299.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001744/2.861, allocations: 209.7 kB / 0.8547 GB, free: 299.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/2.861, allocations: 0 / 0.8547 GB, free: 299.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003159/2.864, allocations: 1.472 MB / 0.8561 GB, free: 299.6 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005303/2.869, allocations: 2.201 MB / 0.8583 GB, free: 299.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003772/2.869, allocations: 119.2 kB / 0.8584 GB, free: 299.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/2.869, allocations: 3.5 kB / 0.8584 GB, free: 299.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/2.869, allocations: 33.48 kB / 0.8584 GB, free: 299.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/2.87, allocations: 58.8 kB / 0.8585 GB, free: 299.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008675/2.871, allocations: 0.5439 MB / 0.859 GB, free: 298.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/2.871, allocations: 171.7 kB / 0.8592 GB, free: 298.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/2.871, allocations: 25.39 kB / 0.8592 GB, free: 298.8 MB / 0.6856 GB Notification: Performance of SimCode: time 5.01e-07/2.871, allocations: 0.6562 kB / 0.8592 GB, free: 298.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.03523/2.906, allocations: 28.75 MB / 0.8873 GB, free: 271.8 MB / 0.6856 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.1652866108343] Failed to read output from testmodel.py, exit status != 0: 3.0525577389635146 3.060914527 0.6496832419999999 Calling exit ...