Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.7695/0.7695, allocations: 111.6 MB / 131 MB, free: 5.047 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.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 175.7 MB, free: 9.484 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.429e-05, allocations: 4.984 kB / 175.7 MB, free: 9.48 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.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss): time 1.611/1.611, allocations: 254.6 MB / 430.3 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4182/2.029, allocations: 164.9 MB / 0.5812 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/2.03, allocations: 7.938 kB / 0.5812 GB, free: 8.668 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourcePQ.mo:44:3-45:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/InvSingularPressureLoss.mo:22:3-23:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/InvSingularPressureLoss.mo:24:3-25:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001465/2.03, allocations: 39.53 kB / 0.5813 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003794/2.03, allocations: 126.8 kB / 0.5814 GB, free: 8.504 MB / 0.4948 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.03167/2.062, allocations: 11.58 MB / 0.5927 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006827/2.063, allocations: 406.4 kB / 0.5931 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/2.063, allocations: 173.1 kB / 0.5932 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006852/2.064, allocations: 251.4 kB / 0.5935 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/2.064, allocations: 119.6 kB / 0.5936 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/2.064, allocations: 40 kB / 0.5936 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03703/2.101, allocations: 18.65 MB / 0.6119 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/2.101, allocations: 87.67 kB / 0.6119 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/2.101, allocations: 123.7 kB / 0.6121 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.02589/2.127, allocations: 12.35 MB / 0.6241 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/2.127, allocations: 0 / 0.6241 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.164e-06/2.127, allocations: 0 / 0.6241 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.344e-06/2.127, allocations: 0 / 0.6241 GB, free: 12.66 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.00484/2.132, allocations: 1.779 MB / 0.6259 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/2.132, allocations: 11.98 kB / 0.6259 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/2.132, allocations: 71.7 kB / 0.6259 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/2.133, allocations: 263.9 kB / 0.6262 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/2.133, allocations: 25 kB / 0.6262 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/2.133, allocations: 32 kB / 0.6262 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006923/2.134, allocations: 364.9 kB / 0.6266 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/2.134, allocations: 0 / 0.6266 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/2.134, allocations: 16 kB / 0.6266 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/2.134, allocations: 8.625 kB / 0.6266 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005476/2.134, allocations: 230.4 kB / 0.6268 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07898/2.213, allocations: 21.95 MB / 0.6483 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/2.213, allocations: 66.48 kB / 0.6483 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/2.214, allocations: 20.92 kB / 0.6483 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2436/2.457, allocations: 67.2 MB / 0.714 GB, free: 404 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/2.457, allocations: 34.55 kB / 0.714 GB, free: 360 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/2.457, allocations: 0 / 0.714 GB, free: 360 kB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0004946/2.458, allocations: 114.5 kB / 0.7141 GB, free: 240 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/2.458, allocations: 59.41 kB / 0.7142 GB, free: 168 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1416/2.599, allocations: 302.4 kB / 0.7145 GB, free: 298.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/2.599, allocations: 28.92 kB / 0.7145 GB, free: 298.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/2.599, allocations: 241.7 kB / 0.7147 GB, free: 298.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/2.599, allocations: 19.38 kB / 0.7147 GB, free: 298.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/2.6, allocations: 64.12 kB / 0.7148 GB, free: 298.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/2.6, allocations: 330.3 kB / 0.7151 GB, free: 297.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/2.6, allocations: 38.62 kB / 0.7152 GB, free: 297.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/2.6, allocations: 147.8 kB / 0.7153 GB, free: 297.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/2.6, allocations: 196.8 kB / 0.7155 GB, free: 297.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/2.6, allocations: 1.5 kB / 0.7155 GB, free: 297.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004483/2.601, allocations: 231.9 kB / 0.7157 GB, free: 297.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/2.601, allocations: 6.281 kB / 0.7157 GB, free: 297.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/2.601, allocations: 5.594 kB / 0.7157 GB, free: 297.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/2.601, allocations: 5.219 kB / 0.7157 GB, free: 297.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/2.601, allocations: 120.2 kB / 0.7158 GB, free: 297.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/2.601, allocations: 10.62 kB / 0.7158 GB, free: 297.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/2.602, allocations: 30.41 kB / 0.7159 GB, free: 297.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/2.602, allocations: 21.5 kB / 0.7159 GB, free: 297.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourcePQ.C.ftype,sinkQ.fluid,invSingularPressureLoss.fluid,sourcePQ.fluid1,sourcePQ.C.diff_on_2,invSingularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000123/2.602, allocations: 155.2 kB / 0.716 GB, free: 297.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/2.602, allocations: 22.58 kB / 0.7161 GB, free: 297.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/2.602, allocations: 108 kB / 0.7162 GB, free: 297.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/2.602, allocations: 3.969 kB / 0.7162 GB, free: 297.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/2.602, allocations: 4 kB / 0.7162 GB, free: 297.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/2.602, allocations: 0 / 0.7162 GB, free: 297.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1988/2.801, allocations: 65.77 MB / 0.7804 GB, free: 236.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/2.801, allocations: 0 / 0.7804 GB, free: 236.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/2.801, allocations: 17.17 kB / 0.7804 GB, free: 236.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/2.801, allocations: 4 kB / 0.7804 GB, free: 236.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/2.801, allocations: 7.922 kB / 0.7804 GB, free: 236.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/2.801, allocations: 4 kB / 0.7804 GB, free: 236.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/2.801, allocations: 1.125 kB / 0.7804 GB, free: 236.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/2.801, allocations: 148.1 kB / 0.7806 GB, free: 236.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/2.801, allocations: 41.11 kB / 0.7806 GB, free: 236.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/2.801, allocations: 7.922 kB / 0.7806 GB, free: 236.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.917e-05/2.801, allocations: 4 kB / 0.7806 GB, free: 236.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/2.801, allocations: 11.98 kB / 0.7806 GB, free: 236.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-06/2.801, allocations: 4 kB / 0.7806 GB, free: 236.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001807/2.802, allocations: 203.1 kB / 0.7808 GB, free: 236 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/2.802, allocations: 0 / 0.7808 GB, free: 236 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002924/2.805, allocations: 1.469 MB / 0.7823 GB, free: 234.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.006314/2.811, allocations: 2.406 MB / 0.7846 GB, free: 232.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004231/2.811, allocations: 112.3 kB / 0.7847 GB, free: 232.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/2.811, allocations: 0 / 0.7847 GB, free: 232.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/2.811, allocations: 27.97 kB / 0.7848 GB, free: 232.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/2.812, allocations: 64.77 kB / 0.7848 GB, free: 232.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008138/2.813, allocations: 0.5104 MB / 0.7853 GB, free: 231.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/2.813, allocations: 164.8 kB / 0.7855 GB, free: 231.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001418/2.813, allocations: 44.31 kB / 0.7855 GB, free: 231.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/2.813, allocations: 24.5 kB / 0.7855 GB, free: 231.5 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/2.813, allocations: 0 / 0.7855 GB, free: 231.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.04743/2.86, allocations: 45.4 MB / 0.8299 GB, free: 186.2 MB / 0.6198 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.850328836007975]