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.786/0.786, allocations: 111.6 MB / 131 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.334e-06/2.334e-06, allocations: 0 / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.037e-05, allocations: 4.984 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.665/1.665, allocations: 254.5 MB / 430.3 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05022/1.715, allocations: 30.58 MB / 460.8 MB, free: 1.875 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/1.716, allocations: 4 kB / 460.9 MB, free: 1.871 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.0004736/1.716, allocations: 99.41 kB / 460.9 MB, free: 1.773 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003952/1.717, allocations: 131.1 kB / 461.1 MB, free: 1.645 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.02855/1.745, allocations: 9.787 MB / 470.9 MB, free: 7.824 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000679/1.746, allocations: 362.1 kB / 471.2 MB, free: 7.469 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/1.746, allocations: 100.8 kB / 471.3 MB, free: 7.371 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007024/1.747, allocations: 215.4 kB / 471.5 MB, free: 7.16 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/1.747, allocations: 83.73 kB / 471.6 MB, free: 7.078 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/1.747, allocations: 16 kB / 471.6 MB, free: 7.062 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03515/1.782, allocations: 16.79 MB / 488.4 MB, free: 6.246 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.271e-05/1.782, allocations: 43.83 kB / 488.5 MB, free: 6.203 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/1.782, allocations: 87.78 kB / 488.5 MB, free: 6.117 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2197/2.002, allocations: 10.81 MB / 499.4 MB, free: 22.28 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/2.002, allocations: 0 / 499.4 MB, free: 22.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.563e-06/2.002, allocations: 0 / 499.4 MB, free: 22.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/2.002, allocations: 1.094 kB / 499.4 MB, free: 22.28 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.005699/2.008, allocations: 1.404 MB / 0.489 GB, free: 21.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/2.008, allocations: 14.45 kB / 0.489 GB, free: 21.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.392e-05/2.008, allocations: 44.66 kB / 0.4891 GB, free: 21.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/2.008, allocations: 176.7 kB / 0.4892 GB, free: 21.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/2.008, allocations: 16.06 kB / 0.4893 GB, free: 21.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/2.008, allocations: 20.03 kB / 0.4893 GB, free: 21.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/2.009, allocations: 299.7 kB / 0.4896 GB, free: 21.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/2.009, allocations: 5.219 kB / 0.4896 GB, free: 21.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/2.009, allocations: 9.844 kB / 0.4896 GB, free: 21.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/2.009, allocations: 10.41 kB / 0.4896 GB, free: 21.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/2.009, allocations: 173.2 kB / 0.4898 GB, free: 21.2 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.03228/2.041, allocations: 10.79 MB / 0.5003 GB, free: 19.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/2.041, allocations: 117.2 kB / 0.5004 GB, free: 19.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/2.042, allocations: 68.31 kB / 0.5005 GB, free: 19.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1382/2.18, allocations: 43.62 MB / 0.5431 GB, free: 2.254 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/2.18, allocations: 35.22 kB / 0.5431 GB, free: 2.211 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 2.033e-06/2.18, allocations: 0 / 0.5431 GB, free: 2.211 MB / 458.7 MB Notification: Performance of matching and sorting (n=34): time 0.001084/2.181, allocations: 372 kB / 0.5435 GB, free: 1.945 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/2.181, allocations: 51.41 kB / 0.5435 GB, free: 1.883 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/2.181, allocations: 182.9 kB / 0.5437 GB, free: 1.719 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/2.181, allocations: 25.7 kB / 0.5437 GB, free: 1.688 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/2.181, allocations: 156.6 kB / 0.5439 GB, free: 1.547 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.674e-05/2.181, allocations: 117.9 kB / 0.544 GB, free: 1.449 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/2.181, allocations: 54.89 kB / 0.544 GB, free: 1.402 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/2.182, allocations: 333.6 kB / 0.5443 GB, free: 1.074 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/2.182, allocations: 76.38 kB / 0.5444 GB, free: 1.031 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/2.182, allocations: 123.6 kB / 0.5445 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/2.182, allocations: 204.3 kB / 0.5447 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/2.182, allocations: 0 / 0.5447 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004626/2.183, allocations: 295 kB / 0.545 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/2.183, allocations: 8 kB / 0.545 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/2.183, allocations: 0 / 0.545 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009589/2.184, allocations: 168.2 kB / 0.5452 GB, free: 456 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/2.184, allocations: 8 kB / 0.5452 GB, free: 448 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00067/2.184, allocations: 0.6467 MB / 0.5458 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/2.185, allocations: 19.81 kB / 0.5458 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/2.185, allocations: 13.41 kB / 0.5458 GB, free: 15.79 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.0001508/2.185, allocations: 132.3 kB / 0.546 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/2.185, allocations: 23.8 kB / 0.546 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008575/2.186, allocations: 0.5858 MB / 0.5466 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004173/2.186, allocations: 218.3 kB / 0.5468 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/2.186, allocations: 1.5 kB / 0.5468 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/2.186, allocations: 0 / 0.5468 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/2.187, allocations: 0.6297 MB / 0.5474 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/2.187, allocations: 0 / 0.5474 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/2.187, allocations: 19.98 kB / 0.5474 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003837/2.187, allocations: 116.1 kB / 0.5475 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/2.187, allocations: 2.062 kB / 0.5475 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006199/2.188, allocations: 0.6507 MB / 0.5482 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/2.188, allocations: 8.016 kB / 0.5482 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/2.189, allocations: 335.1 kB / 0.5485 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/2.189, allocations: 29.39 kB / 0.5485 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/2.189, allocations: 10.45 kB / 0.5485 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/2.189, allocations: 5.688 kB / 0.5485 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/2.189, allocations: 13.72 kB / 0.5485 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/2.189, allocations: 9.5 kB / 0.5486 GB, free: 13.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002257/2.189, allocations: 204.2 kB / 0.5487 GB, free: 13.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/2.189, allocations: 0 / 0.5487 GB, free: 13.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004378/2.194, allocations: 1.212 MB / 0.5499 GB, free: 12.09 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.006272/2.2, allocations: 1.899 MB / 0.5518 GB, free: 10.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005956/2.2, allocations: 213 kB / 0.552 GB, free: 10.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/2.2, allocations: 0 / 0.552 GB, free: 10.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002241/2.201, allocations: 92.52 kB / 0.5521 GB, free: 10.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/2.201, allocations: 114 kB / 0.5522 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009801/2.202, allocations: 0.4903 MB / 0.5527 GB, free: 9.691 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/2.203, allocations: 160.9 kB / 0.5528 GB, free: 9.52 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.936e-05/2.203, allocations: 14.58 kB / 0.5528 GB, free: 9.504 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/2.203, allocations: 18.38 kB / 0.5528 GB, free: 9.488 MB / 474.7 MB Notification: Performance of SimCode: time 5.41e-07/2.203, allocations: 4 kB / 0.5529 GB, free: 9.484 MB / 474.7 MB Notification: Performance of Templates: time 0.0692/2.272, allocations: 42.19 MB / 0.594 GB, free: 15.53 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.165031866985373]