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.8745/0.8745, allocations: 153.8 MB / 172.7 MB, free: 4.848 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.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 0.0005591/0.0005591, allocations: 15.97 kB / 250.3 MB, free: 3.859 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1574, allocations: 33.35 MB / 283.7 MB, free: 2.062 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.TestStaticCentrifugalPump1): time 1.906/2.064, allocations: 307.6 MB / 0.5774 GB, free: 17.14 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03212/2.096, allocations: 30.53 MB / 0.6073 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004777/2.096, allocations: 3.469 kB / 0.6073 GB, free: 2.496 MB / 478.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.0006486/2.097, allocations: 110.8 kB / 0.6074 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006122/2.098, allocations: 122.8 kB / 0.6075 GB, free: 2.363 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.02634/2.124, allocations: 9.699 MB / 0.617 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008099/2.125, allocations: 412.5 kB / 0.6173 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/2.125, allocations: 114.3 kB / 0.6175 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/2.125, allocations: 179.2 kB / 0.6176 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/2.125, allocations: 115.4 kB / 0.6177 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/2.125, allocations: 24 kB / 0.6178 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03456/2.16, allocations: 16.75 MB / 0.6341 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/2.16, allocations: 59.72 kB / 0.6342 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002124/2.16, allocations: 123.4 kB / 0.6343 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0219/2.182, allocations: 8.489 MB / 0.6426 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/2.182, allocations: 0 / 0.6426 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/2.182, allocations: 1.031 kB / 0.6426 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.505e-06/2.182, allocations: 0 / 0.6426 GB, free: 2.281 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004395/2.187, allocations: 1.458 MB / 0.644 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/2.187, allocations: 8.031 kB / 0.644 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/2.187, allocations: 35.77 kB / 0.644 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/2.187, allocations: 196.6 kB / 0.6442 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/2.187, allocations: 20.44 kB / 0.6443 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/2.187, allocations: 20 kB / 0.6443 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/2.188, allocations: 344.4 kB / 0.6446 GB, free: 128 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/2.188, allocations: 0 / 0.6446 GB, free: 128 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/2.188, allocations: 4 kB / 0.6446 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/2.188, allocations: 16.73 kB / 0.6446 GB, free: 108 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/2.188, allocations: 227.6 kB / 0.6448 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03798/2.226, allocations: 10.84 MB / 0.6554 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/2.227, allocations: 172.2 kB / 0.6556 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/2.227, allocations: 100.8 kB / 0.6557 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1614/2.388, allocations: 43.58 MB / 0.6982 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/2.388, allocations: 38.5 kB / 0.6983 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.254e-06/2.388, allocations: 0 / 0.6983 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41): time 0.004388/2.393, allocations: 0.8585 MB / 0.6991 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/2.393, allocations: 59.41 kB / 0.6992 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/2.393, allocations: 203.7 kB / 0.6994 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/2.393, allocations: 25.7 kB / 0.6994 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/2.393, allocations: 168.6 kB / 0.6996 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/2.393, allocations: 142.8 kB / 0.6997 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/2.393, allocations: 53.7 kB / 0.6997 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001674/2.394, allocations: 334.8 kB / 0.7001 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/2.394, allocations: 100.4 kB / 0.7002 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/2.394, allocations: 150.9 kB / 0.7003 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/2.395, allocations: 281.3 kB / 0.7006 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/2.395, allocations: 0.9375 kB / 0.7006 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002494/2.397, allocations: 0.5926 MB / 0.7012 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/2.397, allocations: 8 kB / 0.7012 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/2.397, allocations: 0 / 0.7012 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008718/2.398, allocations: 227.2 kB / 0.7014 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.156e-05/2.398, allocations: 16.56 kB / 0.7014 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/2.399, allocations: 0.7421 MB / 0.7021 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/2.399, allocations: 27.73 kB / 0.7021 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/2.399, allocations: 16.03 kB / 0.7022 GB, free: 4.953 MB / 0.5606 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.0001687/2.399, allocations: 147.5 kB / 0.7023 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/2.399, allocations: 19.86 kB / 0.7023 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/2.401, allocations: 0.7728 MB / 0.7031 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000547/2.401, allocations: 296.2 kB / 0.7034 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/2.401, allocations: 0 / 0.7034 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/2.401, allocations: 0 / 0.7034 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/2.402, allocations: 0.7638 MB / 0.7041 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/2.402, allocations: 0 / 0.7041 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-05/2.403, allocations: 27.92 kB / 0.7041 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007055/2.403, allocations: 196.5 kB / 0.7043 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/2.403, allocations: 6.156 kB / 0.7043 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009087/2.404, allocations: 0.7522 MB / 0.7051 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.49e-05/2.404, allocations: 11.91 kB / 0.7051 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/2.405, allocations: 412.1 kB / 0.7055 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/2.405, allocations: 35.77 kB / 0.7055 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/2.405, allocations: 15.89 kB / 0.7055 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/2.405, allocations: 8 kB / 0.7055 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/2.405, allocations: 12.91 kB / 0.7055 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/2.405, allocations: 8.75 kB / 0.7055 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002762/2.406, allocations: 221.1 kB / 0.7057 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/2.406, allocations: 0 / 0.7057 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003414/2.409, allocations: 1.22 MB / 0.7069 GB, free: 15.89 MB / 0.5762 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.005771/2.415, allocations: 1.738 MB / 0.7086 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008359/2.416, allocations: 301.9 kB / 0.7089 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/2.416, allocations: 0 / 0.7089 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003835/2.416, allocations: 144.6 kB / 0.7091 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/2.417, allocations: 113.9 kB / 0.7092 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/2.418, allocations: 0.6055 MB / 0.7098 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/2.418, allocations: 172.8 kB / 0.7099 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001052/2.418, allocations: 15.14 kB / 0.7099 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/2.418, allocations: 27.38 kB / 0.71 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/2.418, allocations: 0 / 0.71 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of Templates: time 0.0682/2.487, allocations: 42.97 MB / 0.7519 GB, free: 2.281 MB / 0.6075 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.76734715886414] Failed to read output from testmodel.py, exit status != 0: 2.8911618161946535 2.902436474 0.717587838 Calling exit ...