Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.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.8796/0.8796, allocations: 153.8 MB / 172.7 MB, free: 4.832 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.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005762/0.0005762, allocations: 15.92 kB / 250.3 MB, free: 3.855 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.159, allocations: 33.35 MB / 283.7 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.Examples.SimpleExamples.TestSingularPressureLoss): time 1.873/2.032, allocations: 307.5 MB / 0.5773 GB, free: 17.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0319/2.064, allocations: 30.51 MB / 0.6071 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/2.065, allocations: 2.906 kB / 0.6071 GB, free: 2.965 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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:33:3-34:47: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/SingularPressureLoss.mo:25:3-27:16: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/SingularPressureLoss.mo:28:3-29:52: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.0003981/2.065, allocations: 107 kB / 0.6072 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/2.065, allocations: 112.6 kB / 0.6073 GB, free: 2.84 MB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02608/2.091, allocations: 9.686 MB / 0.6168 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006343/2.092, allocations: 342.6 kB / 0.6171 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/2.092, allocations: 86.53 kB / 0.6172 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/2.092, allocations: 143.4 kB / 0.6173 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/2.093, allocations: 99.44 kB / 0.6174 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/2.093, allocations: 20 kB / 0.6174 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03355/2.126, allocations: 16.75 MB / 0.6338 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/2.126, allocations: 43.84 kB / 0.6338 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/2.126, allocations: 107.5 kB / 0.6339 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02001/2.146, allocations: 8.427 MB / 0.6422 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/2.146, allocations: 0.9375 kB / 0.6422 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/2.146, allocations: 0 / 0.6422 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.947e-06/2.146, allocations: 0 / 0.6422 GB, free: 3.008 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.004282/2.151, allocations: 1.396 MB / 0.6435 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/2.151, allocations: 8.031 kB / 0.6435 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/2.151, allocations: 31.75 kB / 0.6436 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/2.151, allocations: 168.8 kB / 0.6437 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/2.151, allocations: 20.38 kB / 0.6438 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/2.151, allocations: 16 kB / 0.6438 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/2.152, allocations: 292.8 kB / 0.644 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/2.152, allocations: 0.8438 kB / 0.6441 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/2.152, allocations: 12 kB / 0.6441 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/2.152, allocations: 11.98 kB / 0.6441 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/2.152, allocations: 163.5 kB / 0.6442 GB, free: 0.8203 MB / 0.4981 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.03833/2.19, allocations: 10.77 MB / 0.6547 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/2.191, allocations: 106.5 kB / 0.6548 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.59e-05/2.191, allocations: 60.97 kB / 0.6549 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1606/2.351, allocations: 43.58 MB / 0.6975 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/2.351, allocations: 38.5 kB / 0.6975 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/2.351, allocations: 0.8438 kB / 0.6975 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0008571/2.352, allocations: 314.3 kB / 0.6978 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/2.352, allocations: 51.41 kB / 0.6978 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/2.352, allocations: 170.1 kB / 0.698 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/2.352, allocations: 29.7 kB / 0.698 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/2.353, allocations: 160.6 kB / 0.6982 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.124e-05/2.353, allocations: 107 kB / 0.6983 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/2.353, allocations: 49.62 kB / 0.6983 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001578/2.353, allocations: 326.8 kB / 0.6986 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/2.353, allocations: 73.23 kB / 0.6987 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/2.353, allocations: 112.9 kB / 0.6988 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/2.353, allocations: 209.5 kB / 0.699 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/2.353, allocations: 1.312 kB / 0.699 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004442/2.354, allocations: 274.1 kB / 0.6993 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/2.354, allocations: 4 kB / 0.6993 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/2.354, allocations: 4 kB / 0.6993 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000847/2.355, allocations: 141.4 kB / 0.6994 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/2.355, allocations: 11.94 kB / 0.6994 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005902/2.355, allocations: 0.6105 MB / 0.7 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.796e-05/2.356, allocations: 27.77 kB / 0.7001 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/2.356, allocations: 11.94 kB / 0.7001 GB, free: 7.395 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (singularPressureLoss.C2.b,singularPressureLoss.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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001391/2.356, allocations: 135.2 kB / 0.7002 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/2.356, allocations: 12.56 kB / 0.7002 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007723/2.357, allocations: 0.5579 MB / 0.7008 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003618/2.357, allocations: 206.4 kB / 0.701 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/2.357, allocations: 0 / 0.701 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-06/2.357, allocations: 0 / 0.701 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008363/2.358, allocations: 0.5764 MB / 0.7015 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/2.358, allocations: 4 kB / 0.7015 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/2.358, allocations: 17.59 kB / 0.7015 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003626/2.358, allocations: 100.8 kB / 0.7016 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/2.358, allocations: 5 kB / 0.7016 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005335/2.359, allocations: 0.6343 MB / 0.7023 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/2.359, allocations: 3.984 kB / 0.7023 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/2.359, allocations: 301.2 kB / 0.7026 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/2.359, allocations: 23.89 kB / 0.7026 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/2.359, allocations: 16.98 kB / 0.7026 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/2.359, allocations: 4.969 kB / 0.7026 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/2.359, allocations: 11.98 kB / 0.7026 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/2.359, allocations: 4.547 kB / 0.7026 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002315/2.36, allocations: 204 kB / 0.7028 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/2.36, allocations: 0 / 0.7028 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002926/2.362, allocations: 1.208 MB / 0.704 GB, free: 3.215 MB / 0.5606 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00471/2.367, allocations: 1.744 MB / 0.7057 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005678/2.368, allocations: 207.4 kB / 0.7059 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/2.368, allocations: 0 / 0.7059 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/2.368, allocations: 80.2 kB / 0.706 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/2.369, allocations: 100.1 kB / 0.7061 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000932/2.37, allocations: 497.5 kB / 0.7065 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/2.37, allocations: 155.5 kB / 0.7067 GB, free: 460 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.949e-05/2.37, allocations: 15.59 kB / 0.7067 GB, free: 448 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/2.37, allocations: 19.44 kB / 0.7067 GB, free: 428 kB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/2.37, allocations: 0 / 0.7067 GB, free: 428 kB / 0.5606 GB Notification: Performance of Templates: time 0.06113/2.431, allocations: 42.03 MB / 0.7478 GB, free: 6.875 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.506750252097845] Failed to read output from testmodel.py, exit status != 0: 2.8096303530037403 2.820356502 0.671465159 Calling exit ...