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.8227/0.8227, allocations: 111.6 MB / 131 MB, free: 5.074 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 1.893e-06/1.893e-06, allocations: 3.938 kB / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.528e-05, allocations: 2.312 kB / 175.7 MB, free: 9.449 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.715/1.715, allocations: 254.7 MB / 430.4 MB, free: 452 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05135/1.766, allocations: 32.93 MB / 463.4 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/1.766, allocations: 4 kB / 463.4 MB, free: 15.39 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.0004076/1.767, allocations: 107.3 kB / 463.5 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/1.767, allocations: 115.1 kB / 463.6 MB, free: 15.17 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.02682/1.794, allocations: 9.791 MB / 473.4 MB, free: 5.344 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006285/1.794, allocations: 366.1 kB / 473.7 MB, free: 4.984 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/1.795, allocations: 92.8 kB / 473.8 MB, free: 4.895 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/1.795, allocations: 223.3 kB / 474 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/1.795, allocations: 83.73 kB / 474.1 MB, free: 4.594 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/1.795, allocations: 20 kB / 474.1 MB, free: 4.574 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0337/1.829, allocations: 16.78 MB / 490.9 MB, free: 3.762 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/1.829, allocations: 47.78 kB / 491 MB, free: 3.715 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/1.829, allocations: 83.83 kB / 491.1 MB, free: 3.633 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.205/2.034, allocations: 10.81 MB / 0.4901 GB, free: 19.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/2.034, allocations: 0.9062 kB / 0.4901 GB, free: 19.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.713e-06/2.034, allocations: 0 / 0.4901 GB, free: 19.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/2.034, allocations: 0 / 0.4901 GB, free: 19.8 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.006789/2.041, allocations: 1.522 MB / 0.4916 GB, free: 18.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/2.041, allocations: 14.73 kB / 0.4916 GB, free: 18.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/2.041, allocations: 45.31 kB / 0.4917 GB, free: 18.85 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/2.041, allocations: 183.9 kB / 0.4918 GB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/2.041, allocations: 17.16 kB / 0.4918 GB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/2.041, allocations: 16.66 kB / 0.4919 GB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/2.042, allocations: 288.9 kB / 0.4921 GB, free: 18.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/2.042, allocations: 0 / 0.4921 GB, free: 18.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/2.042, allocations: 9.844 kB / 0.4921 GB, free: 18.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/2.042, allocations: 13.25 kB / 0.4922 GB, free: 18.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/2.042, allocations: 127.6 kB / 0.4923 GB, free: 18.58 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.0362/2.078, allocations: 11.2 MB / 0.5032 GB, free: 16.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/2.079, allocations: 91.77 kB / 0.5033 GB, free: 16.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.212e-05/2.079, allocations: 46.41 kB / 0.5033 GB, free: 16.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1599/2.239, allocations: 43.74 MB / 0.5461 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/2.239, allocations: 41.38 kB / 0.5461 GB, free: 14.92 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/2.239, allocations: 0 / 0.5461 GB, free: 14.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.001058/2.24, allocations: 297.5 kB / 0.5464 GB, free: 14.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/2.24, allocations: 59.41 kB / 0.5464 GB, free: 14.59 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/2.24, allocations: 251.6 kB / 0.5467 GB, free: 14.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/2.24, allocations: 25.7 kB / 0.5467 GB, free: 14.33 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/2.24, allocations: 213.9 kB / 0.5469 GB, free: 14.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/2.24, allocations: 125 kB / 0.547 GB, free: 14.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/2.24, allocations: 62.3 kB / 0.5471 GB, free: 13.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002843/2.241, allocations: 0.5141 MB / 0.5476 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.76e-05/2.241, allocations: 47.7 kB / 0.5476 GB, free: 13.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/2.241, allocations: 111.8 kB / 0.5477 GB, free: 13.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/2.241, allocations: 183.4 kB / 0.5479 GB, free: 13.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/2.241, allocations: 0 / 0.5479 GB, free: 13.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004457/2.242, allocations: 254.9 kB / 0.5482 GB, free: 12.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/2.242, allocations: 4 kB / 0.5482 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/2.242, allocations: 0 / 0.5482 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008349/2.242, allocations: 143.9 kB / 0.5483 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/2.243, allocations: 8 kB / 0.5483 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008099/2.243, allocations: 0.9114 MB / 0.5492 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/2.243, allocations: 20.97 kB / 0.5492 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/2.243, allocations: 14.73 kB / 0.5492 GB, free: 11.89 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.0001762/2.244, allocations: 181.4 kB / 0.5494 GB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.12e-05/2.244, allocations: 25.48 kB / 0.5494 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/2.245, allocations: 0.7019 MB / 0.5501 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003832/2.245, allocations: 196.8 kB / 0.5503 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/2.245, allocations: 0 / 0.5503 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/2.245, allocations: 0 / 0.5503 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/2.246, allocations: 0.6989 MB / 0.551 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/2.246, allocations: 0 / 0.551 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/2.246, allocations: 24.06 kB / 0.551 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/2.247, allocations: 87.12 kB / 0.5511 GB, free: 10.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/2.247, allocations: 1.5 kB / 0.5511 GB, free: 10.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009282/2.248, allocations: 0.8931 MB / 0.552 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/2.248, allocations: 0 / 0.552 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/2.248, allocations: 381.3 kB / 0.5523 GB, free: 8.949 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/2.248, allocations: 24.89 kB / 0.5523 GB, free: 8.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/2.248, allocations: 14.45 kB / 0.5524 GB, free: 8.918 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/2.248, allocations: 5.75 kB / 0.5524 GB, free: 8.914 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/2.248, allocations: 7.984 kB / 0.5524 GB, free: 8.906 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/2.248, allocations: 5.938 kB / 0.5524 GB, free: 8.902 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002881/2.249, allocations: 258.5 kB / 0.5526 GB, free: 8.688 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/2.249, allocations: 0 / 0.5526 GB, free: 8.688 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004523/2.253, allocations: 1.213 MB / 0.5538 GB, free: 7.555 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.007673/2.261, allocations: 1.904 MB / 0.5557 GB, free: 5.941 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005512/2.261, allocations: 210.2 kB / 0.5559 GB, free: 5.762 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/2.261, allocations: 0 / 0.5559 GB, free: 5.762 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/2.262, allocations: 90.56 kB / 0.556 GB, free: 5.688 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/2.262, allocations: 105.5 kB / 0.5561 GB, free: 5.598 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009449/2.263, allocations: 497.1 kB / 0.5565 GB, free: 5.121 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/2.263, allocations: 166.8 kB / 0.5567 GB, free: 4.945 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.102e-05/2.264, allocations: 18.98 kB / 0.5567 GB, free: 4.926 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/2.264, allocations: 19.59 kB / 0.5567 GB, free: 4.91 MB / 474.7 MB Notification: Performance of SimCode: time 4.91e-07/2.264, allocations: 0 / 0.5567 GB, free: 4.91 MB / 474.7 MB Notification: Performance of Templates: time 0.07236/2.336, allocations: 42.87 MB / 0.5986 GB, free: 10.33 MB / 0.5105 GB " [Timeout remaining time 657] 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: 8.293112321058288]