Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.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.9218/0.9218, allocations: 153.8 MB / 173.4 MB, free: 4.93 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005663/0.0005663, allocations: 15.97 kB / 251.1 MB, free: 3.98 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2531, allocations: 33.36 MB / 284.4 MB, free: 2.137 MB / 222.1 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.Book.SimpleExamples.PressureLoss.TestBend): time 2.058/2.311, allocations: 307.6 MB / 0.5782 GB, free: 16.11 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2511/2.562, allocations: 194.1 MB / 0.7677 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000578/2.563, allocations: 15.88 kB / 0.7677 GB, free: 2.863 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65: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:47:3-48:67: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/Bend.mo:57:3-58:67: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/Bend.mo:59:3-60:67: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.0005852/2.563, allocations: 207.2 kB / 0.7679 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0008188/2.564, allocations: 278.7 kB / 0.7682 GB, free: 2.387 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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:63:5-63:84: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.04573/2.61, allocations: 12.63 MB / 0.7805 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001142/2.611, allocations: 0.5496 MB / 0.7811 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005173/2.611, allocations: 238.5 kB / 0.7813 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000587/2.612, allocations: 271.1 kB / 0.7816 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006576/2.613, allocations: 382.8 kB / 0.7819 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/2.613, allocations: 44 kB / 0.782 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04666/2.66, allocations: 21.23 MB / 0.8027 GB, free: 15.02 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000322/2.66, allocations: 219.3 kB / 0.8029 GB, free: 14.8 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004728/2.66, allocations: 334 kB / 0.8032 GB, free: 14.48 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03105/2.691, allocations: 10.81 MB / 0.8138 GB, free: 3.633 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/2.691, allocations: 0 / 0.8138 GB, free: 3.633 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.365e-06/2.691, allocations: 0 / 0.8138 GB, free: 3.633 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.237e-05/2.691, allocations: 0 / 0.8138 GB, free: 3.633 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.007391/2.699, allocations: 2.299 MB / 0.816 GB, free: 1.289 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/2.699, allocations: 12.03 kB / 0.816 GB, free: 1.277 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/2.699, allocations: 91.44 kB / 0.8161 GB, free: 1.188 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/2.7, allocations: 0.5179 MB / 0.8166 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/2.7, allocations: 29 kB / 0.8167 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.389e-05/2.7, allocations: 36 kB / 0.8167 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009085/2.701, allocations: 495.4 kB / 0.8172 GB, free: 60 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/2.701, allocations: 0 / 0.8172 GB, free: 60 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/2.701, allocations: 17.88 kB / 0.8172 GB, free: 44 kB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/2.701, allocations: 12 kB / 0.8172 GB, free: 32 kB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007516/2.702, allocations: 423.1 kB / 0.8176 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/2.712, allocations: 4.37 MB / 0.8219 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/2.713, allocations: 109 kB / 0.822 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/2.713, allocations: 36.84 kB / 0.822 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5224/3.235, allocations: 88.38 MB / 0.9083 GB, free: 247.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/3.235, allocations: 44.67 kB / 0.9084 GB, free: 247.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/3.235, allocations: 0 / 0.9084 GB, free: 247.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.001995/3.237, allocations: 381.5 kB / 0.9087 GB, free: 247.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/3.237, allocations: 118.7 kB / 0.9088 GB, free: 247.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/3.239, allocations: 1.111 MB / 0.9099 GB, free: 246.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/3.239, allocations: 33.7 kB / 0.91 GB, free: 246.2 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/3.239, allocations: 395.2 kB / 0.9103 GB, free: 245.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/3.239, allocations: 42.88 kB / 0.9104 GB, free: 245.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-05/3.239, allocations: 85.59 kB / 0.9104 GB, free: 245.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/3.239, allocations: 382.3 kB / 0.9108 GB, free: 245.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/3.239, allocations: 127.9 kB / 0.9109 GB, free: 245.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/3.239, allocations: 266.9 kB / 0.9112 GB, free: 244.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/3.24, allocations: 320.7 kB / 0.9115 GB, free: 244.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/3.24, allocations: 0 / 0.9115 GB, free: 244.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001292/3.241, allocations: 0.5646 MB / 0.912 GB, free: 244.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/3.241, allocations: 8.938 kB / 0.9121 GB, free: 244 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/3.241, allocations: 8.031 kB / 0.9121 GB, free: 244 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/3.242, allocations: 198.1 kB / 0.9123 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/3.243, allocations: 54.73 kB / 0.9123 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004317/3.243, allocations: 0.6219 MB / 0.9129 GB, free: 243.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/3.243, allocations: 45.91 kB / 0.913 GB, free: 243.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/3.243, allocations: 24.06 kB / 0.913 GB, free: 243.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.00023/3.244, allocations: 270 kB / 0.9132 GB, free: 242.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/3.244, allocations: 74.25 kB / 0.9133 GB, free: 242.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006442/3.244, allocations: 264.2 kB / 0.9136 GB, free: 242.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/3.244, allocations: 7.938 kB / 0.9136 GB, free: 242.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/3.244, allocations: 0 / 0.9136 GB, free: 242.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/3.244, allocations: 0 / 0.9136 GB, free: 242.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/3.246, allocations: 0.8229 MB / 0.9144 GB, free: 241.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/3.246, allocations: 0 / 0.9144 GB, free: 241.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/3.246, allocations: 6.531 kB / 0.9144 GB, free: 241.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009854/3.247, allocations: 171.7 kB / 0.9145 GB, free: 241.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/3.247, allocations: 0 / 0.9145 GB, free: 241.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003785/3.247, allocations: 0.6283 MB / 0.9152 GB, free: 240.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/3.247, allocations: 0 / 0.9152 GB, free: 240.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/3.249, allocations: 425.2 kB / 0.9156 GB, free: 240.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/3.249, allocations: 114 kB / 0.9157 GB, free: 240.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/3.249, allocations: 8 kB / 0.9157 GB, free: 240.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/3.249, allocations: 7.984 kB / 0.9157 GB, free: 240.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/3.249, allocations: 11.98 kB / 0.9157 GB, free: 240.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/3.249, allocations: 4 kB / 0.9157 GB, free: 240.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006983/3.25, allocations: 0.8184 MB / 0.9165 GB, free: 239.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/3.25, allocations: 0 / 0.9165 GB, free: 239.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003384/3.253, allocations: 1.675 MB / 0.9181 GB, free: 238 MB / 0.6856 GB 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 (3): * Single equations (assignments): 2 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006426/3.26, allocations: 2.508 MB / 0.9206 GB, free: 235.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005491/3.26, allocations: 224.5 kB / 0.9208 GB, free: 235.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/3.26, allocations: 4.062 kB / 0.9208 GB, free: 235.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/3.26, allocations: 54.83 kB / 0.9209 GB, free: 235.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/3.261, allocations: 97.8 kB / 0.9209 GB, free: 235.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/3.262, allocations: 1.172 MB / 0.9221 GB, free: 234.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/3.263, allocations: 0.9454 MB / 0.923 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.779e-05/3.263, allocations: 35.44 kB / 0.923 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of SimCode: time 4.21e-07/3.263, allocations: 4 kB / 0.9231 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of Templates: time 0.03944/3.302, allocations: 35.85 MB / 0.9581 GB, free: 198.2 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.44014494610019] Failed to read output from testmodel.py, exit status != 0: 3.4259600429795682 3.435004762 0.741195048 Calling exit ...