Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.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.8683/0.8683, allocations: 153.8 MB / 173.4 MB, free: 4.887 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.TestCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005386/0.0005386, allocations: 11.97 kB / 251 MB, free: 3.863 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1651, allocations: 33.36 MB / 284.4 MB, free: 1.91 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.TestCentrifugalPump2): time 1.831/1.996, allocations: 308.4 MB / 0.5789 GB, free: 17.29 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2067/2.203, allocations: 164.6 MB / 0.7396 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005456/2.203, allocations: 4 kB / 0.7396 GB, free: 15.58 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:117:3-119: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/Machines/CentrifugalPump.mo:120:3-122:37:writable] Warning: Connector C2 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/Machines/CentrifugalPump.mo:126:3-130:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/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/LumpedStraightPipe.mo:49:3-50: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/LumpedStraightPipe.mo:51:3-53:37: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.000575/2.204, allocations: 139.6 kB / 0.7397 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007291/2.204, allocations: 221.5 kB / 0.7399 GB, free: 15.23 MB / 0.6075 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. Notification: Performance of NFTyping.typeClassSections: time 0.03259/2.237, allocations: 11.63 MB / 0.7513 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001193/2.238, allocations: 0.7202 MB / 0.752 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/2.239, allocations: 226.7 kB / 0.7522 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004538/2.239, allocations: 314.8 kB / 0.7525 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/2.239, allocations: 250.7 kB / 0.7528 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.891e-05/2.24, allocations: 44 kB / 0.7528 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03756/2.277, allocations: 18.93 MB / 0.7713 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003051/2.277, allocations: 223.2 kB / 0.7715 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003897/2.278, allocations: 309.8 kB / 0.7718 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02351/2.301, allocations: 10.32 MB / 0.7819 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/2.301, allocations: 0 / 0.7819 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.492e-06/2.301, allocations: 0 / 0.7819 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.026e-05/2.301, allocations: 0 / 0.7819 GB, free: 4.211 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.005763/2.307, allocations: 2.384 MB / 0.7842 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/2.307, allocations: 8.031 kB / 0.7842 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/2.307, allocations: 123.1 kB / 0.7843 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/2.308, allocations: 437 kB / 0.7848 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/2.308, allocations: 29 kB / 0.7848 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-05/2.308, allocations: 47.12 kB / 0.7848 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/2.309, allocations: 0.7773 MB / 0.7856 GB, free: 300 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/2.309, allocations: 0 / 0.7856 GB, free: 300 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/2.309, allocations: 23.94 kB / 0.7856 GB, free: 276 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/2.309, allocations: 19.98 kB / 0.7856 GB, free: 256 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/2.311, allocations: 0.7543 MB / 0.7864 GB, free: 15.5 MB / 0.6544 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.02133/2.332, allocations: 7.59 MB / 0.7938 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/2.333, allocations: 0.821 MB / 0.7946 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/2.334, allocations: 358 kB / 0.7949 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4651/2.799, allocations: 91.61 MB / 0.8844 GB, free: 272.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/2.799, allocations: 30.56 kB / 0.8844 GB, free: 272.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/2.799, allocations: 0 / 0.8844 GB, free: 272.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.004159/2.803, allocations: 1.757 MB / 0.8861 GB, free: 271.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/2.803, allocations: 66.23 kB / 0.8862 GB, free: 271.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/2.804, allocations: 0.8178 MB / 0.887 GB, free: 270.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/2.804, allocations: 29.02 kB / 0.887 GB, free: 270.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/2.804, allocations: 433.2 kB / 0.8874 GB, free: 270.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/2.804, allocations: 246.1 kB / 0.8877 GB, free: 270.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/2.805, allocations: 110.7 kB / 0.8878 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.06e-05/2.805, allocations: 333.2 kB / 0.8881 GB, free: 269.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/2.805, allocations: 350.6 kB / 0.8884 GB, free: 269.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/2.806, allocations: 437.6 kB / 0.8888 GB, free: 269.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009754/2.807, allocations: 0.8083 MB / 0.8896 GB, free: 268.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/2.807, allocations: 0 / 0.8896 GB, free: 268.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001557/2.808, allocations: 1.15 MB / 0.8908 GB, free: 267.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/2.808, allocations: 8.703 kB / 0.8908 GB, free: 267.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/2.808, allocations: 4 kB / 0.8908 GB, free: 267.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006033/2.814, allocations: 1.254 MB / 0.892 GB, free: 266.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/2.814, allocations: 55.91 kB / 0.892 GB, free: 266 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/2.816, allocations: 1.409 MB / 0.8934 GB, free: 264.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/2.816, allocations: 64.02 kB / 0.8935 GB, free: 264.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/2.816, allocations: 20 kB / 0.8935 GB, free: 264.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,sinkP.C.a,sourceP.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 27 * 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 {(5,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0002451/2.817, allocations: 274.4 kB / 0.8938 GB, free: 264.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/2.817, allocations: 95.34 kB / 0.8938 GB, free: 264.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/2.818, allocations: 1.609 MB / 0.8954 GB, free: 262.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001282/2.82, allocations: 1.046 MB / 0.8964 GB, free: 261.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/2.82, allocations: 0 / 0.8964 GB, free: 261.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/2.82, allocations: 3.938 kB / 0.8964 GB, free: 261.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/2.822, allocations: 2.176 MB / 0.8986 GB, free: 259.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/2.822, allocations: 1.312 kB / 0.8986 GB, free: 259.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/2.823, allocations: 75.95 kB / 0.8986 GB, free: 259.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002056/2.825, allocations: 0.5625 MB / 0.8992 GB, free: 258.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/2.825, allocations: 16 kB / 0.8992 GB, free: 258.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/2.826, allocations: 1.306 MB / 0.9005 GB, free: 257.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/2.826, allocations: 0 / 0.9005 GB, free: 257.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/2.828, allocations: 1.78 MB / 0.9022 GB, free: 255.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/2.828, allocations: 131.8 kB / 0.9023 GB, free: 255.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/2.828, allocations: 15.56 kB / 0.9024 GB, free: 255.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/2.828, allocations: 31.84 kB / 0.9024 GB, free: 255.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/2.828, allocations: 36.97 kB / 0.9024 GB, free: 255.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/2.828, allocations: 24 kB / 0.9025 GB, free: 255.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005328/2.829, allocations: 0.6053 MB / 0.903 GB, free: 254.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/2.829, allocations: 0 / 0.903 GB, free: 254.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002987/2.832, allocations: 1.623 MB / 0.9046 GB, free: 253.2 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (lumpedStraightPipe.Q) * 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 (39): * Single equations (assignments): 36 * 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 {(4,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004957/2.837, allocations: 2.338 MB / 0.9069 GB, free: 251.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001647/2.839, allocations: 0.9508 MB / 0.9078 GB, free: 250.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/2.839, allocations: 0 / 0.9078 GB, free: 250.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008159/2.839, allocations: 497.6 kB / 0.9083 GB, free: 249.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/2.84, allocations: 188.8 kB / 0.9085 GB, free: 249.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/2.843, allocations: 2.077 MB / 0.9105 GB, free: 247.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/2.843, allocations: 479.5 kB / 0.911 GB, free: 247.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.355e-05/2.843, allocations: 35.44 kB / 0.911 GB, free: 247.1 MB / 0.6856 GB Notification: Performance of SimCode: time 5.61e-07/2.843, allocations: 4 kB / 0.911 GB, free: 247.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.03907/2.882, allocations: 38.05 MB / 0.9482 GB, free: 209.7 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.7017791448161] Failed to read output from testmodel.py, exit status != 0: 2.9992063851095736 3.008194945 0.704581258 Calling exit ...