Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.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.8572/0.8572, allocations: 153.9 MB / 172.7 MB, free: 4.965 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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005326/0.0005326, allocations: 15.97 kB / 249.8 MB, free: 4.465 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1965, allocations: 33.36 MB / 283.2 MB, free: 1.992 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.TestCentrifugalPump13): time 1.799/1.996, allocations: 307.6 MB / 0.577 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02878/2.024, allocations: 31.51 MB / 0.6077 GB, free: 284 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/2.025, allocations: 2.219 kB / 0.6077 GB, free: 284 kB / 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). Notification: Performance of NFTyping.typeComponents: time 0.0003939/2.025, allocations: 131.9 kB / 0.6079 GB, free: 216 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/2.025, allocations: 121.5 kB / 0.608 GB, free: 140 kB / 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.02297/2.048, allocations: 8.687 MB / 0.6165 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006811/2.049, allocations: 440.2 kB / 0.6169 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/2.049, allocations: 166.4 kB / 0.6171 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/2.05, allocations: 204.9 kB / 0.6172 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/2.05, allocations: 185.2 kB / 0.6174 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/2.05, allocations: 33.28 kB / 0.6175 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.029/2.079, allocations: 15.18 MB / 0.6323 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002511/2.079, allocations: 195.2 kB / 0.6325 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003249/2.08, allocations: 285.9 kB / 0.6327 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01922/2.099, allocations: 7.974 MB / 0.6405 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/2.099, allocations: 4 kB / 0.6405 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/2.099, allocations: 9.156 kB / 0.6405 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.618e-05/2.099, allocations: 0 / 0.6405 GB, free: 4.027 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.004538/2.103, allocations: 1.846 MB / 0.6423 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/2.103, allocations: 12.03 kB / 0.6424 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.768e-05/2.103, allocations: 70.53 kB / 0.6424 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/2.104, allocations: 91.39 kB / 0.6425 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/2.104, allocations: 377.3 kB / 0.6429 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/2.104, allocations: 28.66 kB / 0.6429 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/2.104, allocations: 24 kB / 0.6429 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008313/2.105, allocations: 484.7 kB / 0.6434 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/2.105, allocations: 4.562 kB / 0.6434 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/2.105, allocations: 8 kB / 0.6434 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/2.105, allocations: 12 kB / 0.6434 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009272/2.106, allocations: 499.8 kB / 0.6439 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/2.108, allocations: 1.81 MB / 0.6456 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/2.109, allocations: 0.5086 MB / 0.6461 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/2.11, allocations: 197.3 kB / 0.6463 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07641/2.186, allocations: 22.53 MB / 0.6683 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/2.186, allocations: 39.5 kB / 0.6684 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 3.507e-06/2.186, allocations: 0 / 0.6684 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.003353/2.189, allocations: 0.9756 MB / 0.6693 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/2.19, allocations: 55.34 kB / 0.6694 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/2.191, allocations: 0.8335 MB / 0.6702 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/2.191, allocations: 29.7 kB / 0.6702 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/2.191, allocations: 404.5 kB / 0.6706 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.642e-05/2.191, allocations: 115 kB / 0.6707 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/2.191, allocations: 77.95 kB / 0.6708 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001318/2.191, allocations: 322 kB / 0.6711 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/2.192, allocations: 212.6 kB / 0.6713 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/2.192, allocations: 269.2 kB / 0.6716 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008493/2.193, allocations: 468.9 kB / 0.672 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/2.193, allocations: 0 / 0.672 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001301/2.194, allocations: 0.6791 MB / 0.6727 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/2.194, allocations: 11.94 kB / 0.6727 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/2.194, allocations: 0.6875 kB / 0.6727 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004152/2.198, allocations: 0.642 MB / 0.6733 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/2.199, allocations: 55.89 kB / 0.6734 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009542/2.2, allocations: 0.7829 MB / 0.6741 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/2.2, allocations: 59.62 kB / 0.6742 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/2.2, allocations: 8.75 kB / 0.6742 GB, free: 1.203 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 (26): * Single equations (assignments): 25 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003088/2.2, allocations: 257.5 kB / 0.6744 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/2.201, allocations: 88.77 kB / 0.6745 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/2.202, allocations: 0.7863 MB / 0.6753 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001107/2.203, allocations: 0.5857 MB / 0.6759 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/2.203, allocations: 5.031 kB / 0.6759 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/2.203, allocations: 3.984 kB / 0.6759 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/2.206, allocations: 1.41 MB / 0.6772 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/2.206, allocations: 4 kB / 0.6772 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/2.206, allocations: 48.59 kB / 0.6773 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/2.208, allocations: 388.5 kB / 0.6777 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/2.208, allocations: 13.5 kB / 0.6777 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009295/2.209, allocations: 0.8107 MB / 0.6785 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/2.209, allocations: 0 / 0.6785 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/2.21, allocations: 0.7638 MB / 0.6792 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/2.21, allocations: 115.2 kB / 0.6793 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/2.21, allocations: 12.66 kB / 0.6793 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/2.211, allocations: 23.91 kB / 0.6794 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/2.211, allocations: 31.89 kB / 0.6794 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/2.211, allocations: 8 kB / 0.6794 GB, free: 11.74 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007027/2.211, allocations: 0.5809 MB / 0.68 GB, free: 11.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/2.211, allocations: 0 / 0.68 GB, free: 11.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002845/2.214, allocations: 1.169 MB / 0.6811 GB, free: 9.996 MB / 0.545 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 (24): * Single equations (assignments): 23 * 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.005934/2.22, allocations: 2.834 MB / 0.6839 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001378/2.222, allocations: 0.5747 MB / 0.6844 GB, free: 6.586 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/2.222, allocations: 0 / 0.6844 GB, free: 6.586 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006817/2.222, allocations: 297.5 kB / 0.6847 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/2.223, allocations: 91.98 kB / 0.6848 GB, free: 6.215 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009775/2.233, allocations: 6.704 MB / 0.6914 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/2.233, allocations: 0.981 MB / 0.6923 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001778/2.233, allocations: 42.47 kB / 0.6923 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/2.234, allocations: 263.3 kB / 0.6926 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/2.234, allocations: 0 / 0.6926 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/2.336, allocations: 52.03 MB / 0.7434 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.8/18.13, allocations: 1.625 kB / 0.7434 GB, free: 10.73 MB / 0.6075 GB " [Timeout remaining time 642] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.315175632999853] Failed to read output from testmodel.py, exit status != 0: 18.451027408999835 18.69297606 16.591448182 Calling exit ...