Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.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.8391/0.8391, allocations: 111.6 MB / 131 MB, free: 5.094 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.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 175.7 MB, free: 9.457 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.267e-05, allocations: 6.25 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.TestInvSingularPressureLoss): time 1.717/1.717, allocations: 254.5 MB / 430.2 MB, free: 368 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04975/1.767, allocations: 32.88 MB / 463.1 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/1.767, allocations: 0 / 463.1 MB, free: 15.36 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:16:3-17: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/InvSingularPressureLoss.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/InvSingularPressureLoss.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.000384/1.768, allocations: 99.41 kB / 463.2 MB, free: 15.26 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/1.768, allocations: 87.33 kB / 463.3 MB, free: 15.17 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.02616/1.794, allocations: 9.775 MB / 473.1 MB, free: 5.359 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005332/1.794, allocations: 298.5 kB / 473.4 MB, free: 5.066 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/1.795, allocations: 92.41 kB / 473.5 MB, free: 4.977 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/1.795, allocations: 187.5 kB / 473.6 MB, free: 4.793 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/1.795, allocations: 63.81 kB / 473.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/1.795, allocations: 20 kB / 473.7 MB, free: 4.711 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03232/1.828, allocations: 16.78 MB / 490.5 MB, free: 3.898 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/1.828, allocations: 39.84 kB / 490.6 MB, free: 3.859 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/1.828, allocations: 75.84 kB / 490.6 MB, free: 3.785 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2115/2.039, allocations: 10.76 MB / 0.4896 GB, free: 20.06 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/2.039, allocations: 0 / 0.4896 GB, free: 20.06 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.833e-06/2.039, allocations: 0 / 0.4896 GB, free: 20.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/2.039, allocations: 1.156 kB / 0.4896 GB, free: 20.06 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00631/2.046, allocations: 1.48 MB / 0.4911 GB, free: 19.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/2.046, allocations: 14.64 kB / 0.4911 GB, free: 19.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.05e-05/2.046, allocations: 44.88 kB / 0.4911 GB, free: 19.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/2.046, allocations: 161.6 kB / 0.4913 GB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/2.046, allocations: 16.62 kB / 0.4913 GB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/2.046, allocations: 16.34 kB / 0.4913 GB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/2.046, allocations: 259.7 kB / 0.4916 GB, free: 18.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/2.046, allocations: 1.312 kB / 0.4916 GB, free: 18.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/2.046, allocations: 9.844 kB / 0.4916 GB, free: 18.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/2.046, allocations: 8.375 kB / 0.4916 GB, free: 18.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/2.047, allocations: 116.2 kB / 0.4917 GB, free: 18.88 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.01905/2.066, allocations: 6.122 MB / 0.4977 GB, free: 17.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/2.066, allocations: 56.64 kB / 0.4977 GB, free: 17.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.344e-05/2.066, allocations: 34.16 kB / 0.4978 GB, free: 17.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1533/2.219, allocations: 43.75 MB / 0.5405 GB, free: 4.281 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/2.219, allocations: 33.39 kB / 0.5405 GB, free: 4.238 MB / 458.7 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/2.219, allocations: 0 / 0.5405 GB, free: 4.238 MB / 458.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005912/2.22, allocations: 157.2 kB / 0.5407 GB, free: 4.102 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/2.22, allocations: 51.41 kB / 0.5407 GB, free: 4.039 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/2.22, allocations: 236.4 kB / 0.541 GB, free: 3.816 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/2.22, allocations: 29.7 kB / 0.541 GB, free: 3.781 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/2.22, allocations: 201.3 kB / 0.5412 GB, free: 3.598 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/2.22, allocations: 81.56 kB / 0.5413 GB, free: 3.527 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.146e-05/2.22, allocations: 59.44 kB / 0.5413 GB, free: 3.477 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002684/2.221, allocations: 0.5035 MB / 0.5418 GB, free: 2.973 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/2.221, allocations: 31.23 kB / 0.5418 GB, free: 2.949 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/2.221, allocations: 97.78 kB / 0.5419 GB, free: 2.848 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/2.221, allocations: 150.3 kB / 0.5421 GB, free: 2.715 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/2.221, allocations: 4 kB / 0.5421 GB, free: 2.711 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003487/2.222, allocations: 167.7 kB / 0.5422 GB, free: 2.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/2.222, allocations: 4 kB / 0.5422 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/2.222, allocations: 4 kB / 0.5422 GB, free: 2.562 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/2.222, allocations: 0 / 0.5422 GB, free: 2.562 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/2.222, allocations: 73.73 kB / 0.5423 GB, free: 2.492 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/2.222, allocations: 0 / 0.5423 GB, free: 2.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/2.222, allocations: 24.81 kB / 0.5423 GB, free: 2.473 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/2.222, allocations: 7.469 kB / 0.5423 GB, free: 2.469 MB / 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 (invSingularPressureLoss.C2.b,invSingularPressureLoss.C1.a,sinkQ.C.a,sourcePQ.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): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/2.223, allocations: 177 kB / 0.5425 GB, free: 2.297 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/2.223, allocations: 19.89 kB / 0.5425 GB, free: 2.277 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/2.223, allocations: 357.5 kB / 0.5429 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002356/2.224, allocations: 134.6 kB / 0.543 GB, free: 1.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/2.224, allocations: 0 / 0.543 GB, free: 1.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/2.224, allocations: 0 / 0.543 GB, free: 1.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009581/2.225, allocations: 0.5959 MB / 0.5436 GB, free: 1.305 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/2.225, allocations: 0 / 0.5436 GB, free: 1.305 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/2.225, allocations: 63.92 kB / 0.5436 GB, free: 1.242 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/2.225, allocations: 8.031 kB / 0.5436 GB, free: 1.234 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/2.225, allocations: 7.688 kB / 0.5437 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/2.225, allocations: 0 / 0.5437 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/2.225, allocations: 0.5625 kB / 0.5437 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/2.225, allocations: 316.6 kB / 0.544 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/2.226, allocations: 27.58 kB / 0.544 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/2.226, allocations: 0 / 0.544 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/2.226, allocations: 8.25 kB / 0.544 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/2.226, allocations: 8.828 kB / 0.544 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/2.226, allocations: 7.984 kB / 0.544 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001927/2.226, allocations: 209.4 kB / 0.5442 GB, free: 0.707 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/2.226, allocations: 0 / 0.5442 GB, free: 0.707 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00488/2.231, allocations: 1.2 MB / 0.5454 GB, free: 15.58 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008144/2.239, allocations: 1.904 MB / 0.5472 GB, free: 13.97 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000476/2.239, allocations: 166.9 kB / 0.5474 GB, free: 13.83 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/2.239, allocations: 0 / 0.5474 GB, free: 13.83 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/2.24, allocations: 71 kB / 0.5475 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006576/2.24, allocations: 78 kB / 0.5475 GB, free: 13.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008606/2.241, allocations: 458.9 kB / 0.548 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/2.241, allocations: 146.5 kB / 0.5481 GB, free: 13.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.353e-05/2.241, allocations: 14.03 kB / 0.5481 GB, free: 13.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/2.241, allocations: 20.5 kB / 0.5481 GB, free: 13.08 MB / 474.7 MB Notification: Performance of SimCode: time 7.92e-07/2.241, allocations: 4 kB / 0.5482 GB, free: 13.07 MB / 474.7 MB Notification: Performance of Templates: time 0.07049/2.312, allocations: 41.85 MB / 0.589 GB, free: 3.449 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.277473932947032]