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.8077/0.8077, allocations: 111.6 MB / 131 MB, free: 5.09 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 2.405e-06/2.405e-06, allocations: 0 / 175.6 MB, free: 9.527 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.131e-05, allocations: 5.703 kB / 175.7 MB, free: 9.523 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.676/1.676, allocations: 254.4 MB / 430.1 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05002/1.726, allocations: 30.58 MB / 460.7 MB, free: 2.066 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/1.726, allocations: 0 / 460.7 MB, free: 2.066 MB / 410.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.0004227/1.726, allocations: 111.3 kB / 460.8 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/1.727, allocations: 119.2 kB / 460.9 MB, free: 1.84 MB / 410.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.02738/1.754, allocations: 9.795 MB / 470.7 MB, free: 8.012 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006852/1.755, allocations: 362.1 kB / 471 MB, free: 7.656 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/1.755, allocations: 100.8 kB / 471.1 MB, free: 7.559 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/1.755, allocations: 215.4 kB / 471.4 MB, free: 7.348 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/1.756, allocations: 79.75 kB / 471.4 MB, free: 7.27 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/1.756, allocations: 16 kB / 471.4 MB, free: 7.254 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03416/1.79, allocations: 16.79 MB / 488.2 MB, free: 6.441 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.702e-05/1.79, allocations: 47.78 kB / 488.3 MB, free: 6.395 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/1.79, allocations: 91.7 kB / 488.4 MB, free: 6.305 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2065/1.996, allocations: 10.8 MB / 499.2 MB, free: 22.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.996, allocations: 0.7031 kB / 499.2 MB, free: 22.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.342e-06/1.996, allocations: 0 / 499.2 MB, free: 22.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/1.996, allocations: 1.094 kB / 499.2 MB, free: 22.46 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.005442/2.002, allocations: 1.399 MB / 0.4888 GB, free: 21.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/2.002, allocations: 17.53 kB / 0.4889 GB, free: 21.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/2.002, allocations: 44.84 kB / 0.4889 GB, free: 21.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/2.002, allocations: 180.3 kB / 0.4891 GB, free: 21.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/2.002, allocations: 15.34 kB / 0.4891 GB, free: 21.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/2.002, allocations: 20.06 kB / 0.4891 GB, free: 21.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/2.003, allocations: 299.4 kB / 0.4894 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/2.003, allocations: 2.094 kB / 0.4894 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/2.003, allocations: 5.625 kB / 0.4894 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/2.003, allocations: 16.17 kB / 0.4894 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/2.003, allocations: 173.4 kB / 0.4896 GB, free: 21.38 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.03346/2.037, allocations: 10.8 MB / 0.5001 GB, free: 20.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/2.037, allocations: 112.4 kB / 0.5002 GB, free: 20.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.843e-05/2.037, allocations: 72.39 kB / 0.5003 GB, free: 20.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1394/2.176, allocations: 43.62 MB / 0.5429 GB, free: 2.539 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/2.176, allocations: 30.56 kB / 0.5429 GB, free: 2.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 2.285e-06/2.176, allocations: 0 / 0.5429 GB, free: 2.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=34): time 0.001147/2.178, allocations: 375.2 kB / 0.5433 GB, free: 2.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/2.178, allocations: 51.41 kB / 0.5433 GB, free: 2.168 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/2.178, allocations: 182.9 kB / 0.5435 GB, free: 2.004 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/2.178, allocations: 25.7 kB / 0.5435 GB, free: 1.973 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/2.178, allocations: 159.5 kB / 0.5437 GB, free: 1.832 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.728e-05/2.178, allocations: 115.9 kB / 0.5438 GB, free: 1.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-05/2.178, allocations: 56.14 kB / 0.5439 GB, free: 1.684 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/2.178, allocations: 330 kB / 0.5442 GB, free: 1.359 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/2.178, allocations: 76.88 kB / 0.5442 GB, free: 1.316 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/2.179, allocations: 118.8 kB / 0.5444 GB, free: 1.223 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/2.179, allocations: 208.5 kB / 0.5446 GB, free: 1.086 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/2.179, allocations: 4 kB / 0.5446 GB, free: 1.082 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000466/2.179, allocations: 295.5 kB / 0.5448 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/2.179, allocations: 4 kB / 0.5448 GB, free: 0.875 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/2.179, allocations: 4 kB / 0.5448 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009659/2.18, allocations: 159.3 kB / 0.545 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.309e-05/2.18, allocations: 11.88 kB / 0.545 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006505/2.181, allocations: 0.6405 MB / 0.5456 GB, free: 112 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/2.181, allocations: 27.69 kB / 0.5457 GB, free: 88 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/2.181, allocations: 8.609 kB / 0.5457 GB, free: 80 kB / 458.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.0001718/2.181, allocations: 136.4 kB / 0.5458 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/2.181, allocations: 27.86 kB / 0.5458 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008922/2.182, allocations: 0.579 MB / 0.5464 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004144/2.183, allocations: 219.1 kB / 0.5466 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/2.183, allocations: 0 / 0.5466 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/2.183, allocations: 0 / 0.5466 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/2.184, allocations: 0.641 MB / 0.5472 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/2.184, allocations: 4.625 kB / 0.5472 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.542e-05/2.184, allocations: 15.98 kB / 0.5472 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004001/2.184, allocations: 106.9 kB / 0.5474 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/2.184, allocations: 6.125 kB / 0.5474 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006193/2.185, allocations: 0.6572 MB / 0.548 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/2.185, allocations: 0 / 0.548 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/2.185, allocations: 340.1 kB / 0.5483 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/2.185, allocations: 29.47 kB / 0.5484 GB, free: 13.69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/2.186, allocations: 10.39 kB / 0.5484 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/2.186, allocations: 5.562 kB / 0.5484 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/2.186, allocations: 13.66 kB / 0.5484 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/2.186, allocations: 5.625 kB / 0.5484 GB, free: 13.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002312/2.186, allocations: 203.8 kB / 0.5486 GB, free: 13.51 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/2.186, allocations: 0 / 0.5486 GB, free: 13.51 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00463/2.191, allocations: 1.213 MB / 0.5498 GB, free: 12.37 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.007546/2.198, allocations: 1.904 MB / 0.5516 GB, free: 10.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006505/2.199, allocations: 214.3 kB / 0.5518 GB, free: 10.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/2.199, allocations: 4.062 kB / 0.5518 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/2.199, allocations: 87.58 kB / 0.5519 GB, free: 10.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007733/2.2, allocations: 109 kB / 0.552 GB, free: 10.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/2.201, allocations: 0.4965 MB / 0.5525 GB, free: 9.965 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/2.201, allocations: 164.8 kB / 0.5527 GB, free: 9.789 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.445e-05/2.201, allocations: 14.72 kB / 0.5527 GB, free: 9.773 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/2.201, allocations: 17.92 kB / 0.5527 GB, free: 9.758 MB / 474.7 MB Notification: Performance of SimCode: time 4.71e-07/2.201, allocations: 0 / 0.5527 GB, free: 9.758 MB / 474.7 MB Notification: Performance of Templates: time 0.06913/2.27, allocations: 42.2 MB / 0.5939 GB, free: 15.8 MB / 0.5105 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.250654691946693]