Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.5118/0.5118, allocations: 111.6 MB / 131.2 MB, free: 4.566 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.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 176.2 MB, free: 9.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.391e-05, allocations: 2.312 kB / 176.2 MB, free: 9.16 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.SimpleExamples.TestPipePressureLoss): time 1.12/1.12, allocations: 257 MB / 433.2 MB, free: 140 kB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.02739/1.147, allocations: 33.07 MB / 466.3 MB, free: 14.95 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/1.147, allocations: 4 kB / 466.3 MB, free: 14.94 MB / 426.8 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.0003366/1.148, allocations: 107.3 kB / 466.4 MB, free: 14.84 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/1.148, allocations: 127.1 kB / 466.5 MB, free: 14.71 MB / 426.8 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.01734/1.165, allocations: 9.787 MB / 476.3 MB, free: 4.891 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004595/1.166, allocations: 366.1 kB / 476.7 MB, free: 4.531 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/1.166, allocations: 100.9 kB / 476.8 MB, free: 4.434 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/1.166, allocations: 223.3 kB / 477 MB, free: 4.215 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.897e-05/1.166, allocations: 75.75 kB / 477.1 MB, free: 4.141 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/1.166, allocations: 16 kB / 477.1 MB, free: 4.125 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02012/1.186, allocations: 16.79 MB / 493.9 MB, free: 3.305 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/1.186, allocations: 47.83 kB / 493.9 MB, free: 3.258 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/1.187, allocations: 83.78 kB / 494 MB, free: 3.176 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.2089/1.395, allocations: 10.73 MB / 0.4929 GB, free: 19.66 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/1.395, allocations: 0 / 0.4929 GB, free: 19.66 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.484e-06/1.395, allocations: 0 / 0.4929 GB, free: 19.66 MB / 442.8 MB Notification: Performance of Transformations before backend: time 1.561e-05/1.395, allocations: 0.875 kB / 0.4929 GB, free: 19.66 MB / 442.8 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.007541/1.403, allocations: 1.51 MB / 0.4944 GB, free: 18.73 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.403, allocations: 13.05 kB / 0.4944 GB, free: 18.72 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.678e-05/1.403, allocations: 44.56 kB / 0.4944 GB, free: 18.71 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/1.403, allocations: 181.2 kB / 0.4946 GB, free: 18.56 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/1.403, allocations: 16.73 kB / 0.4946 GB, free: 18.56 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/1.403, allocations: 16.56 kB / 0.4946 GB, free: 18.56 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/1.404, allocations: 262.3 kB / 0.4949 GB, free: 18.43 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.404, allocations: 0 / 0.4949 GB, free: 18.43 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/1.404, allocations: 11.16 kB / 0.4949 GB, free: 18.43 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/1.404, allocations: 13.55 kB / 0.4949 GB, free: 18.43 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/1.404, allocations: 94.75 kB / 0.495 GB, free: 18.43 MB / 442.8 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.01833/1.422, allocations: 11.13 MB / 0.5059 GB, free: 16.8 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/1.422, allocations: 82.08 kB / 0.5059 GB, free: 16.77 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/1.422, allocations: 35.22 kB / 0.506 GB, free: 16.75 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07708/1.5, allocations: 43.74 MB / 0.5487 GB, free: 14.84 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/1.5, allocations: 37.14 kB / 0.5487 GB, free: 14.8 MB / 474.8 MB Notification: Performance of pre-optimization done (n=34): time 2.775e-06/1.5, allocations: 0 / 0.5487 GB, free: 14.8 MB / 474.8 MB Notification: Performance of matching and sorting (n=34): time 0.0006472/1.5, allocations: 274.4 kB / 0.549 GB, free: 14.55 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/1.5, allocations: 51.41 kB / 0.549 GB, free: 14.49 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/1.5, allocations: 231.1 kB / 0.5493 GB, free: 14.26 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/1.5, allocations: 25.7 kB / 0.5493 GB, free: 14.23 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/1.501, allocations: 202 kB / 0.5495 GB, free: 14.04 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/1.501, allocations: 120.4 kB / 0.5496 GB, free: 13.94 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/1.501, allocations: 57.47 kB / 0.5496 GB, free: 13.89 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001207/1.501, allocations: 0.5061 MB / 0.5501 GB, free: 13.38 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/1.501, allocations: 31.42 kB / 0.5502 GB, free: 13.36 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.757e-05/1.501, allocations: 97.09 kB / 0.5503 GB, free: 13.25 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/1.501, allocations: 148.6 kB / 0.5504 GB, free: 13.11 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.501, allocations: 0 / 0.5504 GB, free: 13.11 MB / 474.8 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000241/1.501, allocations: 213.4 kB / 0.5506 GB, free: 12.92 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.501, allocations: 11.56 kB / 0.5506 GB, free: 12.91 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.501, allocations: 128 / 0.5506 GB, free: 12.91 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004381/1.502, allocations: 108.2 kB / 0.5507 GB, free: 12.81 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.576e-05/1.502, allocations: 4 kB / 0.5507 GB, free: 12.81 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004128/1.502, allocations: 0.8767 MB / 0.5516 GB, free: 11.93 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/1.502, allocations: 19.78 kB / 0.5516 GB, free: 11.91 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/1.502, allocations: 16.02 kB / 0.5516 GB, free: 11.89 MB / 474.8 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.0001028/1.502, allocations: 164.7 kB / 0.5518 GB, free: 11.73 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/1.502, allocations: 23.8 kB / 0.5518 GB, free: 11.7 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005327/1.503, allocations: 0.6134 MB / 0.5524 GB, free: 11.12 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001693/1.503, allocations: 164.1 kB / 0.5526 GB, free: 10.97 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.503, allocations: 4 kB / 0.5526 GB, free: 10.96 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.503, allocations: 0.9844 kB / 0.5526 GB, free: 10.96 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/1.504, allocations: 0.6313 MB / 0.5532 GB, free: 10.39 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.504, allocations: 4 kB / 0.5532 GB, free: 10.39 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/1.504, allocations: 15.98 kB / 0.5532 GB, free: 10.37 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/1.504, allocations: 78.58 kB / 0.5533 GB, free: 10.3 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/1.504, allocations: 7.438 kB / 0.5533 GB, free: 10.3 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003428/1.504, allocations: 0.8658 MB / 0.5541 GB, free: 9.418 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.504, allocations: 4 kB / 0.5541 GB, free: 9.414 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/1.505, allocations: 337.4 kB / 0.5544 GB, free: 9.09 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/1.505, allocations: 33.22 kB / 0.5545 GB, free: 9.062 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/1.505, allocations: 10.2 kB / 0.5545 GB, free: 9.055 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.926e-05/1.505, allocations: 5.438 kB / 0.5545 GB, free: 9.051 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/1.505, allocations: 17.78 kB / 0.5545 GB, free: 9.035 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/1.505, allocations: 8.031 kB / 0.5545 GB, free: 9.027 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0001298/1.505, allocations: 220.8 kB / 0.5547 GB, free: 8.832 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/1.505, allocations: 0 / 0.5547 GB, free: 8.832 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.003966/1.509, allocations: 1.208 MB / 0.5559 GB, free: 7.699 MB / 474.8 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.005857/1.515, allocations: 1.902 MB / 0.5578 GB, free: 6.086 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0004712/1.515, allocations: 184.9 kB / 0.5579 GB, free: 5.918 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.515, allocations: 4.906 kB / 0.5579 GB, free: 5.918 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/1.516, allocations: 72.5 kB / 0.558 GB, free: 5.852 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/1.516, allocations: 122.7 kB / 0.5581 GB, free: 5.758 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/1.517, allocations: 494.9 kB / 0.5586 GB, free: 5.277 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.833e-05/1.517, allocations: 88.31 kB / 0.5587 GB, free: 5.172 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 7.189e-05/1.517, allocations: 19.36 kB / 0.5587 GB, free: 5.152 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/1.517, allocations: 22 kB / 0.5587 GB, free: 5.133 MB / 474.8 MB Notification: Performance of SimCode: time 1.563e-06/1.517, allocations: 0 / 0.5587 GB, free: 5.133 MB / 474.8 MB Notification: Performance of Templates: time 0.05594/1.573, allocations: 52.87 MB / 0.6104 GB, free: 0.5273 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.784114284906536]