Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.8773/0.8773, allocations: 153.8 MB / 173.4 MB, free: 4.875 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.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005405/0.0005405, allocations: 15.97 kB / 251 MB, free: 3.867 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1606, allocations: 33.36 MB / 284.4 MB, free: 2.055 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.Examples.SimpleExamples.TestBend): time 1.882/2.042, allocations: 307.7 MB / 0.5782 GB, free: 17.3 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03405/2.076, allocations: 31.1 MB / 0.6086 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/2.077, allocations: 5.844 kB / 0.6086 GB, free: 2.426 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.0006605/2.077, allocations: 265 kB / 0.6088 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005188/2.078, allocations: 280.1 kB / 0.6091 GB, free: 2.27 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.02686/2.105, allocations: 9.941 MB / 0.6188 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008728/2.106, allocations: 0.4988 MB / 0.6193 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/2.106, allocations: 161.6 kB / 0.6195 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/2.106, allocations: 251.1 kB / 0.6197 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/2.107, allocations: 307 kB / 0.62 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/2.107, allocations: 24 kB / 0.62 GB, free: 10.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03296/2.14, allocations: 16.91 MB / 0.6365 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002437/2.14, allocations: 179.4 kB / 0.6367 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002657/2.14, allocations: 206.7 kB / 0.6369 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02021/2.16, allocations: 8.91 MB / 0.6456 GB, free: 260 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/2.16, allocations: 3.938 kB / 0.6456 GB, free: 256 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/2.16, allocations: 0 / 0.6456 GB, free: 256 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.328e-06/2.161, allocations: 0 / 0.6456 GB, free: 256 kB / 0.4981 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.004331/2.165, allocations: 1.804 MB / 0.6474 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/2.165, allocations: 12.03 kB / 0.6474 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/2.165, allocations: 75.47 kB / 0.6474 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006792/2.166, allocations: 440.9 kB / 0.6479 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/2.166, allocations: 21.06 kB / 0.6479 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/2.166, allocations: 24.52 kB / 0.6479 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000755/2.167, allocations: 492.2 kB / 0.6484 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/2.167, allocations: 0 / 0.6484 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/2.167, allocations: 12 kB / 0.6484 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/2.167, allocations: 21.61 kB / 0.6484 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005085/2.167, allocations: 345.6 kB / 0.6487 GB, free: 12.92 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.03914/2.206, allocations: 11.36 MB / 0.6598 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/2.207, allocations: 163.1 kB / 0.66 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/2.207, allocations: 80.83 kB / 0.6601 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1574/2.364, allocations: 43.61 MB / 0.7026 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/2.364, allocations: 34.56 kB / 0.7027 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.254e-06/2.364, allocations: 0 / 0.7027 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.001869/2.366, allocations: 0.5149 MB / 0.7032 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/2.366, allocations: 106.8 kB / 0.7033 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/2.368, allocations: 0.9686 MB / 0.7042 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/2.368, allocations: 29.7 kB / 0.7043 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/2.368, allocations: 304.6 kB / 0.7045 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/2.368, allocations: 130.8 kB / 0.7047 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/2.368, allocations: 69.64 kB / 0.7047 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001942/2.368, allocations: 370.8 kB / 0.7051 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/2.369, allocations: 164.4 kB / 0.7052 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/2.369, allocations: 290.5 kB / 0.7055 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/2.369, allocations: 343.7 kB / 0.7059 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/2.369, allocations: 0.75 kB / 0.7059 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008055/2.37, allocations: 0.5308 MB / 0.7064 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/2.37, allocations: 11.94 kB / 0.7064 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/2.37, allocations: 0 / 0.7064 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/2.372, allocations: 216.8 kB / 0.7066 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/2.372, allocations: 32.67 kB / 0.7066 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000725/2.373, allocations: 0.6663 MB / 0.7073 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/2.373, allocations: 39.8 kB / 0.7073 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/2.373, allocations: 12.64 kB / 0.7073 GB, free: 0.6328 MB / 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.0002877/2.373, allocations: 264 kB / 0.7076 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/2.373, allocations: 59.58 kB / 0.7076 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009294/2.374, allocations: 0.6895 MB / 0.7083 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003898/2.375, allocations: 243 kB / 0.7085 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.375, allocations: 0 / 0.7085 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/2.375, allocations: 0 / 0.7085 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/2.376, allocations: 0.8488 MB / 0.7094 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/2.376, allocations: 3.938 kB / 0.7094 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/2.376, allocations: 23.92 kB / 0.7094 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009088/2.377, allocations: 173.8 kB / 0.7096 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/2.377, allocations: 4 kB / 0.7096 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007044/2.378, allocations: 0.7099 MB / 0.7103 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/2.378, allocations: 0 / 0.7103 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/2.378, allocations: 400.7 kB / 0.7106 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/2.378, allocations: 88.38 kB / 0.7107 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/2.378, allocations: 19.88 kB / 0.7107 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/2.379, allocations: 13.77 kB / 0.7108 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/2.379, allocations: 11.97 kB / 0.7108 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/2.379, allocations: 4 kB / 0.7108 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009434/2.38, allocations: 0.784 MB / 0.7115 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.38, allocations: 0 / 0.7115 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003088/2.383, allocations: 1.286 MB / 0.7128 GB, free: 10.86 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.004732/2.387, allocations: 1.801 MB / 0.7145 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007558/2.388, allocations: 330.8 kB / 0.7149 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/2.388, allocations: 3.938 kB / 0.7149 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003102/2.388, allocations: 101.3 kB / 0.715 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008057/2.389, allocations: 135.9 kB / 0.7151 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/2.391, allocations: 1.192 MB / 0.7163 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/2.392, allocations: 338.7 kB / 0.7166 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/2.392, allocations: 27.44 kB / 0.7166 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/2.392, allocations: 0 / 0.7166 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of Templates: time 0.04767/2.439, allocations: 29.95 MB / 0.7459 GB, free: 9.379 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.926943569909781] Failed to read output from testmodel.py, exit status != 0: 2.5992928380146623 2.818179109 0.655130246 Calling exit ...