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.5264/0.5264, allocations: 111.6 MB / 131.2 MB, free: 4.582 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 1.703e-06/1.703e-06, allocations: 0 / 176.1 MB, free: 9.27 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.577e-05, allocations: 2.312 kB / 176.1 MB, free: 9.266 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.047/1.047, allocations: 256.9 MB / 433.1 MB, free: 424 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02838/1.076, allocations: 33.07 MB / 466.1 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/1.076, allocations: 0 / 466.1 MB, free: 15.22 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.0003019/1.076, allocations: 107.4 kB / 466.2 MB, free: 15.12 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/1.076, allocations: 119.1 kB / 466.4 MB, free: 15 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.01695/1.093, allocations: 9.795 MB / 476.2 MB, free: 5.16 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/1.094, allocations: 362.1 kB / 476.5 MB, free: 4.805 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/1.094, allocations: 100.8 kB / 476.6 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/1.094, allocations: 223.3 kB / 476.8 MB, free: 4.484 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/1.094, allocations: 83.78 kB / 476.9 MB, free: 4.402 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/1.094, allocations: 16 kB / 476.9 MB, free: 4.387 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1933/1.288, allocations: 16.78 MB / 493.7 MB, free: 8.762 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/1.288, allocations: 41.91 kB / 493.7 MB, free: 8.762 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/1.288, allocations: 88.17 kB / 493.8 MB, free: 8.762 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/1.299, allocations: 10.74 MB / 0.4927 GB, free: 5.445 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/1.299, allocations: 0 / 0.4927 GB, free: 5.445 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.372e-06/1.299, allocations: 0 / 0.4927 GB, free: 5.445 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/1.299, allocations: 0.8125 kB / 0.4927 GB, free: 5.445 MB / 426.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.00196/1.301, allocations: 1.51 MB / 0.4942 GB, free: 4.359 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/1.301, allocations: 12.86 kB / 0.4942 GB, free: 4.355 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/1.301, allocations: 47.28 kB / 0.4943 GB, free: 4.332 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/1.301, allocations: 181.6 kB / 0.4944 GB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/1.301, allocations: 19.09 kB / 0.4945 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/1.301, allocations: 17.88 kB / 0.4945 GB, free: 4.145 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/1.301, allocations: 264 kB / 0.4947 GB, free: 3.945 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.301, allocations: 0 / 0.4947 GB, free: 3.945 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/1.301, allocations: 8.562 kB / 0.4947 GB, free: 3.941 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/1.301, allocations: 10.31 kB / 0.4947 GB, free: 3.938 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/1.301, allocations: 95.03 kB / 0.4948 GB, free: 3.914 MB / 426.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.01661/1.318, allocations: 11.13 MB / 0.5057 GB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/1.318, allocations: 74.83 kB / 0.5058 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/1.318, allocations: 39.67 kB / 0.5058 GB, free: 13.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07432/1.392, allocations: 43.73 MB / 0.5485 GB, free: 1.387 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/1.392, allocations: 37.39 kB / 0.5486 GB, free: 1.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 3.837e-06/1.392, allocations: 0.5156 kB / 0.5486 GB, free: 1.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006464/1.393, allocations: 268.7 kB / 0.5488 GB, free: 1.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/1.393, allocations: 51.41 kB / 0.5489 GB, free: 1.008 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/1.393, allocations: 229.8 kB / 0.5491 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/1.393, allocations: 25.7 kB / 0.5491 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/1.393, allocations: 210.4 kB / 0.5493 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/1.393, allocations: 118 kB / 0.5494 GB, free: 424 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/1.393, allocations: 55.36 kB / 0.5495 GB, free: 360 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/1.394, allocations: 0.5078 MB / 0.55 GB, free: 15.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/1.394, allocations: 35.98 kB / 0.55 GB, free: 15.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.951e-05/1.394, allocations: 95.78 kB / 0.5501 GB, free: 15.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/1.394, allocations: 146.9 kB / 0.5502 GB, free: 15.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.394, allocations: 4 kB / 0.5502 GB, free: 15.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000246/1.394, allocations: 220.1 kB / 0.5504 GB, free: 15.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.394, allocations: 4 kB / 0.5505 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.394, allocations: 0 / 0.5505 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004625/1.395, allocations: 128.1 kB / 0.5506 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.546e-05/1.395, allocations: 11.98 kB / 0.5506 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003905/1.395, allocations: 0.8758 MB / 0.5514 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.66e-05/1.395, allocations: 23.78 kB / 0.5515 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/1.395, allocations: 4 kB / 0.5515 GB, free: 14.23 MB / 490.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 8.702e-05/1.395, allocations: 164.1 kB / 0.5516 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/1.395, allocations: 29.34 kB / 0.5517 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/1.396, allocations: 0.6149 MB / 0.5523 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001685/1.396, allocations: 171 kB / 0.5524 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.396, allocations: 4.688 kB / 0.5524 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.396, allocations: 0 / 0.5524 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/1.396, allocations: 0.6282 MB / 0.553 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.396, allocations: 0 / 0.553 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/1.397, allocations: 15.91 kB / 0.553 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/1.397, allocations: 91.61 kB / 0.5531 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/1.397, allocations: 0 / 0.5531 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005674/1.397, allocations: 0.8684 MB / 0.554 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.397, allocations: 1.406 kB / 0.554 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/1.398, allocations: 348.7 kB / 0.5543 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/1.398, allocations: 27.83 kB / 0.5543 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/1.398, allocations: 11.89 kB / 0.5544 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.982e-05/1.398, allocations: 12.91 kB / 0.5544 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/1.398, allocations: 11.97 kB / 0.5544 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/1.398, allocations: 4 kB / 0.5544 GB, free: 11.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001292/1.398, allocations: 224.2 kB / 0.5546 GB, free: 10.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/1.398, allocations: 0 / 0.5546 GB, free: 10.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002213/1.4, allocations: 1.208 MB / 0.5558 GB, free: 9.629 MB / 490.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.003138/1.403, allocations: 1.897 MB / 0.5576 GB, free: 7.961 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003393/1.403, allocations: 181.4 kB / 0.5578 GB, free: 7.777 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.403, allocations: 0 / 0.5578 GB, free: 7.777 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/1.404, allocations: 80.55 kB / 0.5579 GB, free: 7.699 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/1.404, allocations: 115.4 kB / 0.558 GB, free: 7.594 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009103/1.405, allocations: 0.4915 MB / 0.5585 GB, free: 7.082 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.092e-05/1.405, allocations: 84.31 kB / 0.5585 GB, free: 6.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.756e-05/1.405, allocations: 26.73 kB / 0.5586 GB, free: 6.953 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/1.405, allocations: 16.5 kB / 0.5586 GB, free: 6.938 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/1.405, allocations: 0 / 0.5586 GB, free: 6.938 MB / 490.7 MB Notification: Performance of Templates: time 0.03884/1.444, allocations: 42.87 MB / 0.6005 GB, free: 12.37 MB / 0.5261 GB " [Timeout remaining time 658] 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: 5.119697228074074]