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.8644/0.8644, allocations: 153.8 MB / 173.4 MB, free: 4.895 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.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.0005651/0.0005651, allocations: 19.97 kB / 251 MB, free: 3.938 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1839, allocations: 33.35 MB / 284.3 MB, free: 2.074 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.Book.SimpleExamples.PressureLoss.TestBend): time 2.018/2.202, allocations: 307.6 MB / 0.5781 GB, free: 17.3 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03501/2.237, allocations: 31.1 MB / 0.6084 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/2.238, allocations: 3.531 kB / 0.6084 GB, free: 2.422 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.0007104/2.238, allocations: 265.3 kB / 0.6087 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004457/2.239, allocations: 281.6 kB / 0.6089 GB, free: 2.266 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.02844/2.267, allocations: 9.944 MB / 0.6187 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009344/2.268, allocations: 0.5026 MB / 0.6192 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/2.269, allocations: 156.6 kB / 0.6193 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003988/2.269, allocations: 251.1 kB / 0.6195 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/2.269, allocations: 303.1 kB / 0.6198 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/2.269, allocations: 24 kB / 0.6199 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03555/2.305, allocations: 16.92 MB / 0.6364 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002778/2.305, allocations: 171.4 kB / 0.6365 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003012/2.306, allocations: 206.7 kB / 0.6367 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02426/2.33, allocations: 8.91 MB / 0.6454 GB, free: 356 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/2.33, allocations: 0 / 0.6454 GB, free: 356 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/2.33, allocations: 0 / 0.6454 GB, free: 356 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.458e-06/2.33, allocations: 0 / 0.6454 GB, free: 356 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.00516/2.335, allocations: 1.818 MB / 0.6472 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/2.335, allocations: 8.875 kB / 0.6472 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/2.335, allocations: 79.47 kB / 0.6473 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/2.336, allocations: 432.9 kB / 0.6477 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/2.336, allocations: 24.94 kB / 0.6477 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/2.336, allocations: 28 kB / 0.6478 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007128/2.337, allocations: 484.3 kB / 0.6482 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/2.337, allocations: 4 kB / 0.6482 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/2.337, allocations: 8 kB / 0.6482 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/2.337, allocations: 16.64 kB / 0.6482 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/2.337, allocations: 349.6 kB / 0.6486 GB, free: 13.02 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.03807/2.375, allocations: 11.36 MB / 0.6597 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006078/2.376, allocations: 154.5 kB / 0.6598 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/2.376, allocations: 81.39 kB / 0.6599 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1565/2.533, allocations: 43.61 MB / 0.7025 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/2.533, allocations: 38.56 kB / 0.7025 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.495e-06/2.533, allocations: 4.875 kB / 0.7025 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.001937/2.535, allocations: 0.5137 MB / 0.703 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/2.535, allocations: 106.8 kB / 0.7031 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/2.536, allocations: 0.9608 MB / 0.7041 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/2.536, allocations: 33.7 kB / 0.7041 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/2.536, allocations: 304.6 kB / 0.7044 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/2.536, allocations: 126.9 kB / 0.7045 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/2.536, allocations: 65.64 kB / 0.7046 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002173/2.537, allocations: 374.8 kB / 0.7049 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/2.537, allocations: 160.4 kB / 0.7051 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/2.537, allocations: 299.4 kB / 0.7054 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/2.538, allocations: 343.8 kB / 0.7057 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/2.538, allocations: 0.6875 kB / 0.7057 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000781/2.538, allocations: 0.5347 MB / 0.7062 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/2.538, allocations: 7.938 kB / 0.7062 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/2.538, allocations: 4.609 kB / 0.7062 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/2.54, allocations: 216.8 kB / 0.7064 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/2.54, allocations: 19.94 kB / 0.7065 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007513/2.541, allocations: 0.6767 MB / 0.7071 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/2.541, allocations: 44.78 kB / 0.7072 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/2.541, allocations: 12 kB / 0.7072 GB, free: 0.7227 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.0003017/2.541, allocations: 253.6 kB / 0.7074 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.933e-05/2.542, allocations: 63.58 kB / 0.7075 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009324/2.542, allocations: 0.6925 MB / 0.7082 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003875/2.543, allocations: 239 kB / 0.7084 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/2.543, allocations: 0 / 0.7084 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/2.543, allocations: 8.828 kB / 0.7084 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/2.544, allocations: 0.8494 MB / 0.7092 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/2.544, allocations: 0 / 0.7092 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-05/2.544, allocations: 15.94 kB / 0.7092 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008625/2.545, allocations: 176.7 kB / 0.7094 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/2.545, allocations: 5.25 kB / 0.7094 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007119/2.546, allocations: 0.7084 MB / 0.7101 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/2.546, allocations: 1.562 kB / 0.7101 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/2.546, allocations: 402.9 kB / 0.7105 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/2.547, allocations: 91.53 kB / 0.7106 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/2.547, allocations: 11.89 kB / 0.7106 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/2.547, allocations: 20.05 kB / 0.7106 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/2.547, allocations: 7.984 kB / 0.7106 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/2.547, allocations: 15.92 kB / 0.7106 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009485/2.548, allocations: 0.7801 MB / 0.7114 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.548, allocations: 0 / 0.7114 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003672/2.552, allocations: 1.278 MB / 0.7126 GB, free: 10.95 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.004884/2.556, allocations: 1.796 MB / 0.7144 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008114/2.557, allocations: 345.6 kB / 0.7147 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/2.557, allocations: 0 / 0.7147 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/2.558, allocations: 89.33 kB / 0.7148 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008298/2.558, allocations: 138.2 kB / 0.7149 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/2.56, allocations: 1.192 MB / 0.7161 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/2.561, allocations: 333.3 kB / 0.7164 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.639e-05/2.561, allocations: 31.42 kB / 0.7164 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/2.561, allocations: 0 / 0.7164 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of Templates: time 0.04804/2.609, allocations: 29.95 MB / 0.7457 GB, free: 9.465 MB / 0.6075 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.455831377767026] Failed to read output from testmodel.py, exit status != 0: 2.805197224020958 3.096812163 0.7644153010000001 Calling exit ...