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.4951/0.4951, allocations: 111.6 MB / 131.4 MB, free: 4.949 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.343e-06/1.343e-06, allocations: 0 / 176.5 MB, free: 8.996 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.938e-06/1.128e-05, allocations: 4.984 kB / 176.5 MB, free: 8.992 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.064/1.064, allocations: 257.1 MB / 433.6 MB, free: 264 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02606/1.09, allocations: 32.46 MB / 466.1 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/1.09, allocations: 4 kB / 466.1 MB, free: 15.68 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.0003059/1.09, allocations: 111.3 kB / 466.2 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/1.091, allocations: 123.1 kB / 466.3 MB, free: 15.45 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.01784/1.108, allocations: 9.783 MB / 476.1 MB, free: 5.617 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005798/1.109, allocations: 366.1 kB / 476.4 MB, free: 5.258 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/1.109, allocations: 96.77 kB / 476.5 MB, free: 5.16 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/1.109, allocations: 227.2 kB / 476.8 MB, free: 4.938 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/1.11, allocations: 79.8 kB / 476.8 MB, free: 4.859 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/1.11, allocations: 19.94 kB / 476.9 MB, free: 4.84 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2063/1.316, allocations: 16.78 MB / 493.6 MB, free: 9.164 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/1.316, allocations: 43.53 kB / 493.7 MB, free: 9.164 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/1.316, allocations: 86.94 kB / 493.8 MB, free: 9.164 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/1.328, allocations: 10.73 MB / 0.4927 GB, free: 6.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.328, allocations: 0 / 0.4927 GB, free: 6.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.353e-06/1.328, allocations: 0 / 0.4927 GB, free: 6.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/1.328, allocations: 0.8125 kB / 0.4927 GB, free: 6.18 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.002637/1.33, allocations: 1.512 MB / 0.4941 GB, free: 5.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/1.33, allocations: 17 kB / 0.4942 GB, free: 5.102 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/1.33, allocations: 45.62 kB / 0.4942 GB, free: 5.078 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/1.33, allocations: 185.1 kB / 0.4944 GB, free: 4.902 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/1.331, allocations: 12.75 kB / 0.4944 GB, free: 4.898 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/1.331, allocations: 21.12 kB / 0.4944 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/1.331, allocations: 241.6 kB / 0.4946 GB, free: 4.711 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.331, allocations: 2.906 kB / 0.4946 GB, free: 4.711 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/1.331, allocations: 9.812 kB / 0.4947 GB, free: 4.703 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/1.331, allocations: 11.75 kB / 0.4947 GB, free: 4.699 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/1.331, allocations: 79.31 kB / 0.4947 GB, free: 4.684 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.01422/1.345, allocations: 9.689 MB / 0.5042 GB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/1.345, allocations: 64.11 kB / 0.5043 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/1.345, allocations: 43.8 kB / 0.5043 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06197/1.407, allocations: 38.13 MB / 0.5415 GB, free: 9.004 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.407, allocations: 37.39 kB / 0.5416 GB, free: 8.957 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 1.804e-06/1.407, allocations: 0 / 0.5416 GB, free: 8.957 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005635/1.408, allocations: 263.9 kB / 0.5418 GB, free: 8.695 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/1.408, allocations: 55.41 kB / 0.5419 GB, free: 8.629 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/1.408, allocations: 217.1 kB / 0.5421 GB, free: 8.414 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/1.408, allocations: 29.7 kB / 0.5421 GB, free: 8.379 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/1.408, allocations: 205.7 kB / 0.5423 GB, free: 8.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/1.408, allocations: 122.7 kB / 0.5424 GB, free: 8.066 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/1.408, allocations: 59.47 kB / 0.5425 GB, free: 8.008 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/1.408, allocations: 0.5123 MB / 0.543 GB, free: 7.496 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/1.408, allocations: 23.98 kB / 0.543 GB, free: 7.473 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/1.408, allocations: 81.77 kB / 0.5431 GB, free: 7.379 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/1.408, allocations: 142.1 kB / 0.5432 GB, free: 7.234 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.408, allocations: 0 / 0.5432 GB, free: 7.234 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001878/1.409, allocations: 196.3 kB / 0.5434 GB, free: 7.039 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/1.409, allocations: 4 kB / 0.5434 GB, free: 7.035 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.409, allocations: 8.125 kB / 0.5434 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/1.409, allocations: 102.2 kB / 0.5435 GB, free: 6.926 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.712e-05/1.409, allocations: 8.562 kB / 0.5435 GB, free: 6.918 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003278/1.409, allocations: 0.8635 MB / 0.5444 GB, free: 6.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/1.409, allocations: 35.75 kB / 0.5444 GB, free: 6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/1.409, allocations: 7.984 kB / 0.5444 GB, free: 5.992 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 (SourceP1.C.b,PuitsP1.C.a,pipePressureLoss.C1.a,pipePressureLoss.C2.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.021e-05/1.41, allocations: 165.5 kB / 0.5446 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/1.41, allocations: 19.86 kB / 0.5446 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/1.41, allocations: 0.6259 MB / 0.5452 GB, free: 5.168 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001404/1.41, allocations: 169 kB / 0.5454 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/1.41, allocations: 4 kB / 0.5454 GB, free: 4.996 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/1.41, allocations: 0 / 0.5454 GB, free: 4.996 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/1.411, allocations: 0.5742 MB / 0.5459 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/1.411, allocations: 0.6875 kB / 0.5459 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/1.411, allocations: 15.56 kB / 0.5459 GB, free: 4.406 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/1.411, allocations: 81.47 kB / 0.546 GB, free: 4.324 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/1.411, allocations: 8 kB / 0.546 GB, free: 4.316 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002805/1.411, allocations: 0.8585 MB / 0.5469 GB, free: 3.438 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.411, allocations: 0 / 0.5469 GB, free: 3.438 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/1.411, allocations: 339.1 kB / 0.5472 GB, free: 3.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/1.411, allocations: 32.81 kB / 0.5472 GB, free: 3.059 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/1.411, allocations: 15.36 kB / 0.5472 GB, free: 3.047 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/1.411, allocations: 5.25 kB / 0.5472 GB, free: 3.043 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/1.411, allocations: 11.92 kB / 0.5473 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/1.411, allocations: 4.031 kB / 0.5473 GB, free: 3.027 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.11e-05/1.412, allocations: 212.1 kB / 0.5475 GB, free: 2.828 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.412, allocations: 0 / 0.5475 GB, free: 2.828 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002367/1.414, allocations: 1.208 MB / 0.5486 GB, free: 1.617 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.002951/1.417, allocations: 1.979 MB / 0.5506 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002489/1.417, allocations: 171.4 kB / 0.5507 GB, free: 15.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/1.417, allocations: 0 / 0.5507 GB, free: 15.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/1.417, allocations: 75.22 kB / 0.5508 GB, free: 15.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/1.418, allocations: 116.6 kB / 0.5509 GB, free: 15.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007847/1.418, allocations: 495.6 kB / 0.5514 GB, free: 15.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.706e-05/1.418, allocations: 88.31 kB / 0.5515 GB, free: 14.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.836e-05/1.418, allocations: 12.31 kB / 0.5515 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/1.419, allocations: 134.1 kB / 0.5516 GB, free: 14.76 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/1.419, allocations: 0 / 0.5516 GB, free: 14.76 MB / 490.7 MB Notification: Performance of Templates: time 0.05431/1.473, allocations: 49.64 MB / 0.6001 GB, free: 13.34 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.171702178195119]