Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.8741/0.8741, allocations: 120.4 MB / 139.5 MB, free: 496 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.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 217.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.351e-05, allocations: 6.219 kB / 217.2 MB, free: 13.7 MB / 206.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.TestStaticCentrifugalPump1): time 1.525/1.525, allocations: 254.4 MB / 471.6 MB, free: 10.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2411/1.766, allocations: 30.53 MB / 0.4904 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/1.766, allocations: 1.75 kB / 0.4904 GB, free: 8.172 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62: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/StaticCentrifugalPump.mo:63:3-65: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/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). Notification: Performance of NFTyping.typeComponents: time 0.0003768/1.766, allocations: 113.7 kB / 0.4905 GB, free: 8.098 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/1.767, allocations: 128.8 kB / 0.4906 GB, free: 7.992 MB / 446.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.02778/1.794, allocations: 9.788 MB / 0.5002 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005953/1.795, allocations: 419.7 kB / 0.5006 GB, free: 1.051 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/1.795, allocations: 117.5 kB / 0.5007 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004245/1.796, allocations: 247.3 kB / 0.5009 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/1.796, allocations: 95.7 kB / 0.501 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/1.796, allocations: 24 kB / 0.501 GB, free: 0.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03303/1.829, allocations: 16.78 MB / 0.5174 GB, free: 15.81 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.77e-05/1.829, allocations: 61.66 kB / 0.5175 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002104/1.829, allocations: 99.77 kB / 0.5176 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02312/1.852, allocations: 10.85 MB / 0.5282 GB, free: 4.777 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.852, allocations: 0 / 0.5282 GB, free: 4.777 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/1.852, allocations: 0 / 0.5282 GB, free: 4.777 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/1.852, allocations: 0 / 0.5282 GB, free: 4.777 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004064/1.856, allocations: 1.452 MB / 0.5296 GB, free: 3.289 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/1.856, allocations: 8.688 kB / 0.5296 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.994e-05/1.856, allocations: 36.77 kB / 0.5296 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/1.857, allocations: 200.6 kB / 0.5298 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/1.857, allocations: 16.5 kB / 0.5298 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/1.857, allocations: 22.81 kB / 0.5298 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006102/1.857, allocations: 340.5 kB / 0.5302 GB, free: 2.625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/1.857, allocations: 0 / 0.5302 GB, free: 2.625 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/1.857, allocations: 13.44 kB / 0.5302 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/1.857, allocations: 13.12 kB / 0.5302 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/1.858, allocations: 223.8 kB / 0.5304 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03923/1.897, allocations: 10.84 MB / 0.541 GB, free: 7.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/1.898, allocations: 179.9 kB / 0.5412 GB, free: 7.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/1.898, allocations: 100.8 kB / 0.5413 GB, free: 7.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1647/2.063, allocations: 43.56 MB / 0.5838 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/2.063, allocations: 35.12 kB / 0.5838 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=41): time 2.284e-06/2.063, allocations: 0 / 0.5838 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41): time 0.004698/2.067, allocations: 0.869 MB / 0.5847 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/2.067, allocations: 55.34 kB / 0.5847 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/2.068, allocations: 203.8 kB / 0.5849 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/2.068, allocations: 33.7 kB / 0.585 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/2.068, allocations: 161.7 kB / 0.5851 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/2.068, allocations: 146.7 kB / 0.5852 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.977e-05/2.068, allocations: 53.69 kB / 0.5853 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001617/2.068, allocations: 334.8 kB / 0.5856 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/2.068, allocations: 96.47 kB / 0.5857 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/2.069, allocations: 148.5 kB / 0.5859 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/2.069, allocations: 274.1 kB / 0.5861 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/2.069, allocations: 0 / 0.5861 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002626/2.072, allocations: 0.6079 MB / 0.5867 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/2.072, allocations: 7.984 kB / 0.5867 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/2.072, allocations: 0 / 0.5867 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008906/2.073, allocations: 226.7 kB / 0.5869 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/2.073, allocations: 15.98 kB / 0.5869 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009789/2.074, allocations: 0.7365 MB / 0.5877 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/2.074, allocations: 31.81 kB / 0.5877 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/2.074, allocations: 7.938 kB / 0.5877 GB, free: 7.543 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001587/2.074, allocations: 143.2 kB / 0.5878 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/2.074, allocations: 19.86 kB / 0.5879 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/2.075, allocations: 0.7855 MB / 0.5886 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005491/2.076, allocations: 286.9 kB / 0.5889 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/2.076, allocations: 1.281 kB / 0.5889 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/2.076, allocations: 7.984 kB / 0.5889 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/2.077, allocations: 0.7521 MB / 0.5896 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/2.077, allocations: 0 / 0.5896 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.779e-05/2.077, allocations: 20.75 kB / 0.5897 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007713/2.078, allocations: 205.9 kB / 0.5899 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/2.078, allocations: 4 kB / 0.5899 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009655/2.079, allocations: 0.7624 MB / 0.5906 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/2.079, allocations: 0 / 0.5906 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/2.08, allocations: 420 kB / 0.591 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/2.08, allocations: 32.66 kB / 0.591 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/2.08, allocations: 19.83 kB / 0.5911 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/2.08, allocations: 4 kB / 0.5911 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/2.08, allocations: 13.61 kB / 0.5911 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/2.08, allocations: 12 kB / 0.5911 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002506/2.08, allocations: 217.2 kB / 0.5913 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.08, allocations: 0 / 0.5913 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003141/2.083, allocations: 1.216 MB / 0.5925 GB, free: 2.477 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 12 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006035/2.089, allocations: 1.903 MB / 0.5943 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007991/2.09, allocations: 309.1 kB / 0.5946 GB, free: 284 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/2.09, allocations: 0 / 0.5946 GB, free: 284 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000398/2.091, allocations: 132.5 kB / 0.5948 GB, free: 152 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/2.091, allocations: 116.8 kB / 0.5949 GB, free: 44 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/2.093, allocations: 0.5796 MB / 0.5954 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/2.093, allocations: 180.8 kB / 0.5956 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.584e-05/2.093, allocations: 14.98 kB / 0.5956 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/2.093, allocations: 24.5 kB / 0.5956 GB, free: 15.21 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/2.093, allocations: 0 / 0.5956 GB, free: 15.21 MB / 0.545 GB Notification: Performance of Templates: time 0.06482/2.158, allocations: 42.69 MB / 0.6373 GB, free: 4.758 MB / 0.5762 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.327945057302713] Failed to read output from testmodel.py, exit status != 0: 2.5259604901075363 2.5355360399999998 0.68091828 Calling exit ...