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.5085/0.5085, allocations: 111.6 MB / 131.7 MB, free: 5.07 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.565e-06/2.565e-06, allocations: 0 / 176.5 MB, free: 9.426 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.82e-05, allocations: 5.047 kB / 176.5 MB, free: 9.422 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.026/1.026, allocations: 257 MB / 433.5 MB, free: 376 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0262/1.053, allocations: 32.96 MB / 466.5 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.994e-05/1.053, allocations: 4 kB / 466.5 MB, free: 15.28 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.0002642/1.053, allocations: 107.4 kB / 466.6 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/1.053, allocations: 123 kB / 466.7 MB, free: 15.05 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.01407/1.067, allocations: 9.783 MB / 476.5 MB, free: 5.227 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/1.068, allocations: 358.2 kB / 476.8 MB, free: 4.875 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/1.068, allocations: 100.8 kB / 476.9 MB, free: 4.773 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/1.068, allocations: 231.2 kB / 477.2 MB, free: 4.547 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.032e-05/1.068, allocations: 71.81 kB / 477.2 MB, free: 4.477 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/1.068, allocations: 20 kB / 477.2 MB, free: 4.457 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1842/1.252, allocations: 16.78 MB / 494 MB, free: 8.93 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/1.252, allocations: 45.7 kB / 494.1 MB, free: 8.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/1.252, allocations: 85.61 kB / 494.2 MB, free: 8.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/1.264, allocations: 10.73 MB / 0.4931 GB, free: 5.637 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.264, allocations: 0 / 0.4931 GB, free: 5.637 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.223e-06/1.264, allocations: 0.5 kB / 0.4931 GB, free: 5.637 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/1.264, allocations: 5.859 kB / 0.4931 GB, free: 5.633 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.002465/1.266, allocations: 1.502 MB / 0.4945 GB, free: 4.551 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/1.266, allocations: 14.02 kB / 0.4945 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/1.266, allocations: 45.28 kB / 0.4946 GB, free: 4.523 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.266, allocations: 177.5 kB / 0.4947 GB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/1.266, allocations: 18.25 kB / 0.4948 GB, free: 4.344 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/1.266, allocations: 22.12 kB / 0.4948 GB, free: 4.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/1.267, allocations: 258.2 kB / 0.495 GB, free: 4.137 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.267, allocations: 5.75 kB / 0.495 GB, free: 4.137 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/1.267, allocations: 8.969 kB / 0.495 GB, free: 4.133 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/1.267, allocations: 14.73 kB / 0.4951 GB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/1.267, allocations: 89.52 kB / 0.4951 GB, free: 4.105 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.0172/1.284, allocations: 11.12 MB / 0.506 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/1.284, allocations: 82.72 kB / 0.5061 GB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/1.284, allocations: 35.69 kB / 0.5061 GB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07403/1.358, allocations: 43.74 MB / 0.5488 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/1.358, allocations: 40.86 kB / 0.5489 GB, free: 1.453 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 3.076e-06/1.358, allocations: 4 kB / 0.5489 GB, free: 1.449 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006097/1.359, allocations: 253.3 kB / 0.5491 GB, free: 1.195 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/1.359, allocations: 59.39 kB / 0.5492 GB, free: 1.125 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/1.359, allocations: 229.8 kB / 0.5494 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/1.359, allocations: 25.7 kB / 0.5494 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/1.359, allocations: 203.3 kB / 0.5496 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.236e-05/1.359, allocations: 125.8 kB / 0.5497 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/1.359, allocations: 55.36 kB / 0.5498 GB, free: 480 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/1.359, allocations: 0.5078 MB / 0.5503 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.881e-05/1.36, allocations: 31.98 kB / 0.5503 GB, free: 15.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.42e-05/1.36, allocations: 91.78 kB / 0.5504 GB, free: 15.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/1.36, allocations: 154.3 kB / 0.5505 GB, free: 15.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.36, allocations: 0 / 0.5505 GB, free: 15.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002322/1.36, allocations: 211.8 kB / 0.5507 GB, free: 15.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.36, allocations: 4 kB / 0.5508 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.36, allocations: 4 kB / 0.5508 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004589/1.36, allocations: 137.3 kB / 0.5509 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.065e-05/1.36, allocations: 8 kB / 0.5509 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003582/1.361, allocations: 0.875 MB / 0.5517 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/1.361, allocations: 19.78 kB / 0.5518 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/1.361, allocations: 8 kB / 0.5518 GB, free: 14.35 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.557e-05/1.361, allocations: 164.6 kB / 0.5519 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/1.361, allocations: 27.78 kB / 0.552 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/1.362, allocations: 0.6144 MB / 0.5526 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001669/1.362, allocations: 172.9 kB / 0.5527 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/1.362, allocations: 0 / 0.5527 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/1.362, allocations: 3.984 kB / 0.5527 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/1.362, allocations: 0.6238 MB / 0.5533 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.362, allocations: 0 / 0.5533 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/1.362, allocations: 12.75 kB / 0.5533 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000178/1.362, allocations: 93.23 kB / 0.5534 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/1.362, allocations: 0 / 0.5534 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003005/1.363, allocations: 0.8699 MB / 0.5543 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.363, allocations: 4.031 kB / 0.5543 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/1.363, allocations: 354 kB / 0.5546 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/1.363, allocations: 23.83 kB / 0.5547 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/1.363, allocations: 11.89 kB / 0.5547 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/1.363, allocations: 7.938 kB / 0.5547 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/1.363, allocations: 7.984 kB / 0.5547 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/1.363, allocations: 4.938 kB / 0.5547 GB, free: 11.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001222/1.363, allocations: 225.1 kB / 0.5549 GB, free: 10.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/1.363, allocations: 0 / 0.5549 GB, free: 10.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002144/1.365, allocations: 1.208 MB / 0.5561 GB, free: 9.75 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.003074/1.368, allocations: 1.906 MB / 0.5579 GB, free: 8.078 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003054/1.369, allocations: 177.4 kB / 0.5581 GB, free: 7.898 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.369, allocations: 0 / 0.5581 GB, free: 7.898 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.722e-05/1.369, allocations: 82.86 kB / 0.5582 GB, free: 7.816 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/1.369, allocations: 113.6 kB / 0.5583 GB, free: 7.715 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/1.37, allocations: 498.9 kB / 0.5588 GB, free: 7.203 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/1.37, allocations: 91.88 kB / 0.5589 GB, free: 7.098 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.429e-05/1.37, allocations: 10.97 kB / 0.5589 GB, free: 7.086 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/1.37, allocations: 20.5 kB / 0.5589 GB, free: 7.066 MB / 490.7 MB Notification: Performance of SimCode: time 7.81e-07/1.37, allocations: 4 kB / 0.5589 GB, free: 7.062 MB / 490.7 MB Notification: Performance of Templates: time 0.03625/1.407, allocations: 42.86 MB / 0.6007 GB, free: 12.5 MB / 0.5261 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.010621162131429]