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.5085/0.5085, allocations: 111.6 MB / 132.2 MB, free: 4.434 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.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 1.553e-06/1.553e-06, allocations: 0 / 177.3 MB, free: 8.91 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.24e-05, allocations: 2.312 kB / 177.3 MB, free: 8.906 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.TestSingularPressureLoss): time 1.087/1.087, allocations: 257 MB / 434.3 MB, free: 292 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0291/1.116, allocations: 32.45 MB / 466.8 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/1.116, allocations: 4 kB / 466.8 MB, free: 15.71 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/SingularPressureLoss.mo:15:3-16: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/SingularPressureLoss.mo:17:3-18: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.0003158/1.117, allocations: 111.3 kB / 466.9 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/1.117, allocations: 119.1 kB / 467 MB, free: 15.48 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.01837/1.135, allocations: 9.783 MB / 476.8 MB, free: 5.652 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004241/1.136, allocations: 350.2 kB / 477.1 MB, free: 5.309 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/1.136, allocations: 88.86 kB / 477.2 MB, free: 5.219 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/1.136, allocations: 219.3 kB / 477.4 MB, free: 5.004 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/1.136, allocations: 71.75 kB / 477.5 MB, free: 4.934 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/1.136, allocations: 16 kB / 477.5 MB, free: 4.918 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2058/1.342, allocations: 16.78 MB / 494.3 MB, free: 9.145 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/1.342, allocations: 44.52 kB / 494.3 MB, free: 9.145 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/1.342, allocations: 77.14 kB / 494.4 MB, free: 9.145 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01822/1.36, allocations: 10.72 MB / 0.4933 GB, free: 6.262 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/1.36, allocations: 3.984 kB / 0.4933 GB, free: 6.258 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.36, allocations: 1.469 kB / 0.4933 GB, free: 6.258 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/1.36, allocations: 0 / 0.4933 GB, free: 6.258 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.003582/1.364, allocations: 1.5 MB / 0.4948 GB, free: 5.188 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/1.364, allocations: 12.58 kB / 0.4948 GB, free: 5.184 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/1.364, allocations: 41.91 kB / 0.4948 GB, free: 5.164 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/1.364, allocations: 171.6 kB / 0.495 GB, free: 4.996 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/1.364, allocations: 19.92 kB / 0.495 GB, free: 4.984 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/1.364, allocations: 15.72 kB / 0.495 GB, free: 4.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/1.364, allocations: 241.6 kB / 0.4952 GB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.364, allocations: 0 / 0.4952 GB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/1.364, allocations: 7.219 kB / 0.4952 GB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/1.364, allocations: 14.92 kB / 0.4953 GB, free: 4.789 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.187e-05/1.365, allocations: 72.48 kB / 0.4953 GB, free: 4.777 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.01481/1.379, allocations: 9.641 MB / 0.5047 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/1.38, allocations: 72.58 kB / 0.5048 GB, free: 15.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/1.38, allocations: 24.48 kB / 0.5048 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06571/1.445, allocations: 37.87 MB / 0.5418 GB, free: 9.305 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/1.445, allocations: 36.86 kB / 0.5419 GB, free: 9.262 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/1.445, allocations: 0 / 0.5419 GB, free: 9.262 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004982/1.446, allocations: 205.2 kB / 0.5421 GB, free: 9.051 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/1.446, allocations: 51.41 kB / 0.5421 GB, free: 8.988 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/1.446, allocations: 232.5 kB / 0.5423 GB, free: 8.762 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/1.446, allocations: 25.7 kB / 0.5423 GB, free: 8.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/1.446, allocations: 200.1 kB / 0.5425 GB, free: 8.539 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/1.446, allocations: 110.1 kB / 0.5426 GB, free: 8.438 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/1.446, allocations: 61.38 kB / 0.5427 GB, free: 8.379 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/1.446, allocations: 0.5031 MB / 0.5432 GB, free: 7.871 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/1.446, allocations: 24.31 kB / 0.5432 GB, free: 7.848 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.626e-05/1.446, allocations: 89.62 kB / 0.5433 GB, free: 7.746 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/1.446, allocations: 120.8 kB / 0.5434 GB, free: 7.617 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.446, allocations: 3.938 kB / 0.5434 GB, free: 7.613 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002093/1.447, allocations: 186.7 kB / 0.5436 GB, free: 7.438 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.447, allocations: 13.38 kB / 0.5436 GB, free: 7.426 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/1.447, allocations: 0 / 0.5436 GB, free: 7.426 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/1.447, allocations: 86.11 kB / 0.5437 GB, free: 7.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.07e-05/1.447, allocations: 8 kB / 0.5437 GB, free: 7.332 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003751/1.447, allocations: 0.8517 MB / 0.5445 GB, free: 6.457 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/1.448, allocations: 32.42 kB / 0.5446 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/1.448, allocations: 8 kB / 0.5446 GB, free: 6.418 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,singularPressureLoss.C1.a,singularPressureLoss.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,2)} Notification: Performance of prepare postOptimizeDAE: time 8.861e-05/1.448, allocations: 161.7 kB / 0.5447 GB, free: 6.254 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/1.448, allocations: 15.86 kB / 0.5447 GB, free: 6.238 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005832/1.448, allocations: 0.5892 MB / 0.5453 GB, free: 5.629 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001231/1.448, allocations: 139.3 kB / 0.5454 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/1.448, allocations: 8 kB / 0.5455 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.448, allocations: 0 / 0.5455 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/1.449, allocations: 0.5317 MB / 0.546 GB, free: 4.945 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.449, allocations: 1.188 kB / 0.546 GB, free: 4.945 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/1.449, allocations: 19.98 kB / 0.546 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/1.449, allocations: 72.25 kB / 0.5461 GB, free: 4.855 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/1.449, allocations: 0 / 0.5461 GB, free: 4.855 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000299/1.449, allocations: 0.8528 MB / 0.5469 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.449, allocations: 4 kB / 0.5469 GB, free: 3.973 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/1.45, allocations: 307.8 kB / 0.5472 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/1.45, allocations: 19.89 kB / 0.5472 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/1.45, allocations: 15.83 kB / 0.5472 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.567e-05/1.45, allocations: 0.875 kB / 0.5472 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/1.45, allocations: 16.55 kB / 0.5472 GB, free: 3.609 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/1.45, allocations: 4 kB / 0.5472 GB, free: 3.605 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.526e-05/1.45, allocations: 203 kB / 0.5474 GB, free: 3.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.45, allocations: 0 / 0.5474 GB, free: 3.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002676/1.452, allocations: 1.208 MB / 0.5486 GB, free: 2.199 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004139/1.457, allocations: 1.991 MB / 0.5506 GB, free: 460 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003204/1.457, allocations: 152.5 kB / 0.5507 GB, free: 304 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.457, allocations: 0 / 0.5507 GB, free: 304 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.763e-05/1.457, allocations: 78.64 kB / 0.5508 GB, free: 228 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/1.457, allocations: 110.9 kB / 0.5509 GB, free: 124 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008343/1.458, allocations: 471.1 kB / 0.5513 GB, free: 15.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.133e-05/1.458, allocations: 87.88 kB / 0.5514 GB, free: 15.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.893e-05/1.458, allocations: 18.8 kB / 0.5514 GB, free: 15.53 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/1.458, allocations: 134.1 kB / 0.5516 GB, free: 15.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/1.458, allocations: 0 / 0.5516 GB, free: 15.39 MB / 490.7 MB Notification: Performance of Templates: time 0.04959/1.508, allocations: 49.56 MB / 0.6 GB, free: 14.11 MB / 0.5261 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.730705407913774]