Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.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.8769/0.8769, allocations: 153.8 MB / 172.7 MB, free: 4.844 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.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0007585/0.0007585, allocations: 15.97 kB / 250.3 MB, free: 3.871 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2217, allocations: 33.36 MB / 283.7 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.TestCentrifugalPump12): time 1.905/2.126, allocations: 307.7 MB / 0.5775 GB, free: 17.44 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02887/2.155, allocations: 27.72 MB / 0.6046 GB, free: 4.586 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/2.156, allocations: 1.375 kB / 0.6046 GB, free: 4.586 MB / 478.1 MB [/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/SourcePQ.mo:29:3-30:52: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/Sink.mo:17:3-19:16: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/ElectroMechanics/BoundaryConditions/SourceTorque.mo:5:3-9:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004215/2.156, allocations: 110.2 kB / 0.6047 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/2.156, allocations: 116.7 kB / 0.6048 GB, free: 4.469 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.02158/2.178, allocations: 8.589 MB / 0.6132 GB, free: 188 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006707/2.179, allocations: 458.2 kB / 0.6136 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003115/2.179, allocations: 175.4 kB / 0.6138 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/2.179, allocations: 207.2 kB / 0.614 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/2.18, allocations: 176.2 kB / 0.6142 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.98e-05/2.18, allocations: 36.16 kB / 0.6142 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03017/2.21, allocations: 14.29 MB / 0.6281 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/2.21, allocations: 192 kB / 0.6283 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003665/2.21, allocations: 222.3 kB / 0.6285 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01754/2.228, allocations: 8.002 MB / 0.6363 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/2.228, allocations: 0.8438 kB / 0.6363 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/2.228, allocations: 2.062 kB / 0.6363 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.081e-05/2.228, allocations: 0 / 0.6363 GB, free: 9.059 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.004531/2.233, allocations: 1.849 MB / 0.6382 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/2.233, allocations: 8.031 kB / 0.6382 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/2.233, allocations: 95.39 kB / 0.6383 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/2.233, allocations: 385.4 kB / 0.6386 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/2.233, allocations: 24.59 kB / 0.6386 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/2.233, allocations: 32.94 kB / 0.6387 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009556/2.234, allocations: 499.6 kB / 0.6392 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/2.234, allocations: 0 / 0.6392 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/2.234, allocations: 12 kB / 0.6392 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/2.234, allocations: 8 kB / 0.6392 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/2.235, allocations: 0.4943 MB / 0.6397 GB, free: 5.578 MB / 0.4981 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.002348/2.238, allocations: 1.486 MB / 0.6411 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/2.24, allocations: 0.626 MB / 0.6417 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/2.24, allocations: 208.7 kB / 0.6419 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08282/2.323, allocations: 22.6 MB / 0.664 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/2.323, allocations: 38.56 kB / 0.664 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.756e-06/2.323, allocations: 4.781 kB / 0.664 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.003433/2.326, allocations: 0.9966 MB / 0.665 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/2.326, allocations: 51.41 kB / 0.6651 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009736/2.327, allocations: 0.7548 MB / 0.6658 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/2.327, allocations: 33.7 kB / 0.6658 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/2.328, allocations: 368.7 kB / 0.6662 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/2.328, allocations: 146.7 kB / 0.6663 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/2.328, allocations: 74 kB / 0.6664 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001509/2.328, allocations: 318 kB / 0.6667 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/2.329, allocations: 217.3 kB / 0.6669 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/2.329, allocations: 268.3 kB / 0.6671 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/2.33, allocations: 480.5 kB / 0.6676 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/2.33, allocations: 4 kB / 0.6676 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001683/2.332, allocations: 0.7943 MB / 0.6684 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/2.332, allocations: 4 kB / 0.6684 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/2.332, allocations: 7.938 kB / 0.6684 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00487/2.337, allocations: 0.8818 MB / 0.6693 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/2.337, allocations: 39.97 kB / 0.6693 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/2.339, allocations: 1.315 MB / 0.6706 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/2.339, allocations: 53.39 kB / 0.6706 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/2.339, allocations: 16.73 kB / 0.6706 GB, free: 5.645 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (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 (20): * Single equations (assignments): 19 * 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 {(5,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000317/2.34, allocations: 238.6 kB / 0.6709 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/2.34, allocations: 87.41 kB / 0.671 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/2.341, allocations: 0.8002 MB / 0.6717 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001226/2.343, allocations: 0.6152 MB / 0.6723 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/2.343, allocations: 1.188 kB / 0.6723 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/2.343, allocations: 9.094 kB / 0.6724 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/2.345, allocations: 1.378 MB / 0.6737 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/2.345, allocations: 0 / 0.6737 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/2.345, allocations: 75.83 kB / 0.6738 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/2.347, allocations: 391 kB / 0.6741 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/2.348, allocations: 15.98 kB / 0.6742 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009896/2.349, allocations: 0.8005 MB / 0.6749 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/2.349, allocations: 4 kB / 0.6749 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/2.351, allocations: 1.116 MB / 0.676 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/2.351, allocations: 111.5 kB / 0.6761 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/2.351, allocations: 12.06 kB / 0.6762 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/2.351, allocations: 25.59 kB / 0.6762 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/2.351, allocations: 27.7 kB / 0.6762 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/2.351, allocations: 15.98 kB / 0.6762 GB, free: 15.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006495/2.352, allocations: 0.5263 MB / 0.6767 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/2.352, allocations: 0 / 0.6767 GB, free: 15.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002881/2.355, allocations: 1.173 MB / 0.6779 GB, free: 14.13 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005451/2.36, allocations: 1.631 MB / 0.6795 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001751/2.362, allocations: 0.6092 MB / 0.6801 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/2.362, allocations: 0 / 0.6801 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008123/2.363, allocations: 313.1 kB / 0.6804 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/2.364, allocations: 87.66 kB / 0.6804 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/2.367, allocations: 1.57 MB / 0.682 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/2.367, allocations: 389.9 kB / 0.6824 GB, free: 9.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001598/2.367, allocations: 30.89 kB / 0.6824 GB, free: 9.496 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/2.367, allocations: 32.17 kB / 0.6824 GB, free: 9.465 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/2.367, allocations: 4 kB / 0.6824 GB, free: 9.461 MB / 0.545 GB Notification: Performance of Templates: time 0.06271/2.43, allocations: 41.74 MB / 0.7232 GB, free: 164 kB / 0.5762 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.437258752062917] Failed to read output from testmodel.py, exit status != 0: 2.588597359135747 2.601904925 0.370599102 Calling exit ...