Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.851/0.851, allocations: 120.4 MB / 140.1 MB, free: 68 kB / 126.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.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005694/0.0005694, allocations: 18.45 kB / 217.7 MB, free: 13.57 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06209/0.06266, allocations: 33.37 MB / 251 MB, free: 13.37 MB / 238.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.Examples.Book.SimpleExamples.PressureLoss.TestBend): time 1.836/1.899, allocations: 254 MB / 0.4932 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04705/1.946, allocations: 31.1 MB / 0.5236 GB, free: 5.645 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002855/1.946, allocations: 5.312 kB / 0.5236 GB, free: 5.641 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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:33:3-34:47: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/Bend.mo:55:3-57:42: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/Bend.mo:58:3-60:43: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.0006664/1.947, allocations: 266.5 kB / 0.5239 GB, free: 5.383 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004297/1.947, allocations: 281.4 kB / 0.5241 GB, free: 5.109 MB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02902/1.976, allocations: 9.943 MB / 0.5338 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008476/1.977, allocations: 0.4995 MB / 0.5343 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/1.978, allocations: 161.4 kB / 0.5345 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004118/1.978, allocations: 255.7 kB / 0.5347 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/1.978, allocations: 307.7 kB / 0.535 GB, free: 9.996 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/1.978, allocations: 24.72 kB / 0.5351 GB, free: 9.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0338/2.012, allocations: 16.91 MB / 0.5516 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002876/2.013, allocations: 179.4 kB / 0.5517 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003309/2.013, allocations: 208.3 kB / 0.5519 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02102/2.034, allocations: 8.91 MB / 0.5606 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/2.034, allocations: 0 / 0.5606 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.974e-06/2.034, allocations: 0 / 0.5606 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.082e-05/2.034, allocations: 0 / 0.5606 GB, free: 15.75 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00457/2.038, allocations: 1.804 MB / 0.5624 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/2.039, allocations: 13.25 kB / 0.5624 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/2.039, allocations: 75.47 kB / 0.5625 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/2.039, allocations: 440.9 kB / 0.5629 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/2.039, allocations: 16.5 kB / 0.5629 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/2.039, allocations: 25.14 kB / 0.5629 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/2.04, allocations: 489.1 kB / 0.5634 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/2.04, allocations: 0 / 0.5634 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/2.04, allocations: 15.31 kB / 0.5634 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/2.04, allocations: 17.25 kB / 0.5634 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/2.041, allocations: 345.8 kB / 0.5638 GB, free: 12.44 MB / 0.5137 GB 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.0395/2.08, allocations: 11.37 MB / 0.5749 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/2.081, allocations: 150.6 kB / 0.575 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/2.081, allocations: 82.84 kB / 0.5751 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1617/2.243, allocations: 43.61 MB / 0.6177 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/2.243, allocations: 34.56 kB / 0.6177 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.054e-06/2.243, allocations: 3.938 kB / 0.6177 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.001941/2.245, allocations: 0.5138 MB / 0.6182 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/2.245, allocations: 102.8 kB / 0.6183 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/2.246, allocations: 0.9686 MB / 0.6193 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/2.246, allocations: 29.7 kB / 0.6193 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/2.246, allocations: 304.6 kB / 0.6196 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/2.246, allocations: 130.8 kB / 0.6197 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/2.247, allocations: 69.64 kB / 0.6198 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001997/2.247, allocations: 370.8 kB / 0.6201 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/2.247, allocations: 160.4 kB / 0.6203 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/2.247, allocations: 302.8 kB / 0.6206 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/2.248, allocations: 341.7 kB / 0.6209 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/2.248, allocations: 3.938 kB / 0.6209 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008536/2.249, allocations: 0.5309 MB / 0.6214 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/2.249, allocations: 11.94 kB / 0.6214 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/2.249, allocations: 0 / 0.6214 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/2.25, allocations: 220.7 kB / 0.6216 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/2.251, allocations: 27.98 kB / 0.6217 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007471/2.251, allocations: 0.6704 MB / 0.6223 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/2.251, allocations: 35.73 kB / 0.6224 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/2.251, allocations: 16.05 kB / 0.6224 GB, free: 140 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003122/2.252, allocations: 249.7 kB / 0.6226 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/2.252, allocations: 59.58 kB / 0.6227 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00095/2.253, allocations: 0.6972 MB / 0.6233 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003987/2.253, allocations: 248.2 kB / 0.6236 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/2.253, allocations: 0 / 0.6236 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/2.253, allocations: 0 / 0.6236 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/2.255, allocations: 0.8457 MB / 0.6244 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/2.255, allocations: 3.938 kB / 0.6244 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/2.255, allocations: 19.98 kB / 0.6244 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009601/2.256, allocations: 174.3 kB / 0.6246 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/2.256, allocations: 4 kB / 0.6246 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007217/2.256, allocations: 0.7084 MB / 0.6253 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/2.256, allocations: 0 / 0.6253 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/2.257, allocations: 404.6 kB / 0.6257 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/2.257, allocations: 87.53 kB / 0.6258 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-05/2.257, allocations: 19.88 kB / 0.6258 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/2.257, allocations: 8.062 kB / 0.6258 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/2.257, allocations: 15.97 kB / 0.6258 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/2.257, allocations: 8 kB / 0.6258 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009911/2.258, allocations: 0.784 MB / 0.6266 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.258, allocations: 3.938 kB / 0.6266 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00322/2.262, allocations: 1.286 MB / 0.6278 GB, free: 10.36 MB / 0.5762 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 (12): * Single equations (assignments): 11 * 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.005617/2.267, allocations: 1.785 MB / 0.6296 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008019/2.268, allocations: 339.9 kB / 0.6299 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/2.268, allocations: 0 / 0.6299 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003172/2.268, allocations: 104.8 kB / 0.63 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/2.269, allocations: 136.2 kB / 0.6301 GB, free: 8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/2.271, allocations: 1.123 MB / 0.6312 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/2.271, allocations: 337 kB / 0.6315 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001528/2.272, allocations: 60.98 kB / 0.6316 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/2.272, allocations: 32.5 kB / 0.6316 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/2.272, allocations: 0 / 0.6316 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.07075/2.342, allocations: 44.97 MB / 0.6756 GB, free: 9.695 MB / 0.6231 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.445106062106788] Failed to read output from testmodel.py, exit status != 0: 2.702866189996712 2.713401928 0.677008633 Calling exit ...