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.7911/0.7911, allocations: 153.8 MB / 173.5 MB, free: 4.969 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004635, allocations: 15.97 kB / 250.6 MB, free: 4.469 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1562, allocations: 33.37 MB / 284 MB, free: 1.844 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.687/1.843, allocations: 307.4 MB / 0.5776 GB, free: 16.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02678/1.87, allocations: 31.52 MB / 0.6083 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/1.87, allocations: 2.25 kB / 0.6083 GB, free: 0.5547 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). Notification: Performance of NFTyping.typeComponents: time 0.0004066/1.87, allocations: 128.3 kB / 0.6085 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/1.871, allocations: 117 kB / 0.6086 GB, free: 432 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.02184/1.892, allocations: 8.699 MB / 0.6171 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000689/1.893, allocations: 440.8 kB / 0.6175 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/1.893, allocations: 161.3 kB / 0.6176 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/1.894, allocations: 204.5 kB / 0.6178 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/1.894, allocations: 184.5 kB / 0.618 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/1.894, allocations: 30.78 kB / 0.618 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02901/1.923, allocations: 15.18 MB / 0.6329 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002455/1.923, allocations: 193 kB / 0.6331 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003333/1.924, allocations: 289.9 kB / 0.6333 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01728/1.941, allocations: 7.974 MB / 0.6411 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.941, allocations: 4 kB / 0.6411 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/1.941, allocations: 0 / 0.6411 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.849e-06/1.941, allocations: 1.469 kB / 0.6411 GB, free: 4.383 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.00464/1.946, allocations: 1.859 MB / 0.6429 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/1.946, allocations: 12.03 kB / 0.6429 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.367e-05/1.946, allocations: 8.656 kB / 0.643 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.362e-05/1.946, allocations: 70.53 kB / 0.643 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/1.946, allocations: 91.39 kB / 0.6431 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/1.946, allocations: 369.4 kB / 0.6435 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/1.946, allocations: 30.03 kB / 0.6435 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/1.946, allocations: 29.69 kB / 0.6435 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008149/1.947, allocations: 478.8 kB / 0.644 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/1.947, allocations: 9.047 kB / 0.644 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/1.947, allocations: 8 kB / 0.644 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/1.947, allocations: 16 kB / 0.644 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009195/1.948, allocations: 494.3 kB / 0.6445 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/1.95, allocations: 1.812 MB / 0.6462 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/1.951, allocations: 0.5079 MB / 0.6467 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000387/1.952, allocations: 200.7 kB / 0.6469 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07221/2.024, allocations: 22.53 MB / 0.6689 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/2.024, allocations: 38.55 kB / 0.669 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.435e-06/2.024, allocations: 0 / 0.669 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.003063/2.027, allocations: 0.9847 MB / 0.6699 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/2.027, allocations: 51.41 kB / 0.67 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/2.028, allocations: 0.8335 MB / 0.6708 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/2.028, allocations: 33.7 kB / 0.6708 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/2.029, allocations: 396.5 kB / 0.6712 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/2.029, allocations: 115 kB / 0.6713 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/2.029, allocations: 74.91 kB / 0.6714 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001244/2.029, allocations: 326 kB / 0.6717 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/2.029, allocations: 212.6 kB / 0.6719 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/2.03, allocations: 269.2 kB / 0.6722 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008417/2.031, allocations: 468.9 kB / 0.6726 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/2.031, allocations: 0 / 0.6726 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001281/2.032, allocations: 0.6829 MB / 0.6733 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/2.032, allocations: 8.625 kB / 0.6733 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/2.032, allocations: 0 / 0.6733 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003778/2.036, allocations: 0.641 MB / 0.6739 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/2.036, allocations: 56.83 kB / 0.674 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009273/2.037, allocations: 0.7829 MB / 0.6747 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/2.037, allocations: 60.36 kB / 0.6748 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/2.037, allocations: 12 kB / 0.6748 GB, free: 1.539 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.0002841/2.038, allocations: 250.5 kB / 0.675 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/2.038, allocations: 87.39 kB / 0.6751 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/2.039, allocations: 0.7862 MB / 0.6759 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001078/2.04, allocations: 0.5902 MB / 0.6765 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/2.04, allocations: 4.688 kB / 0.6765 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/2.04, allocations: 3.984 kB / 0.6765 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/2.043, allocations: 1.411 MB / 0.6778 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/2.043, allocations: 4 kB / 0.6778 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/2.043, allocations: 47.97 kB / 0.6779 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/2.045, allocations: 389.4 kB / 0.6783 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/2.045, allocations: 13.22 kB / 0.6783 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008864/2.046, allocations: 0.8107 MB / 0.6791 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/2.046, allocations: 0 / 0.6791 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/2.047, allocations: 0.759 MB / 0.6798 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/2.047, allocations: 123.8 kB / 0.6799 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/2.047, allocations: 8 kB / 0.6799 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/2.047, allocations: 29.22 kB / 0.68 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/2.047, allocations: 27.89 kB / 0.68 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/2.047, allocations: 8 kB / 0.68 GB, free: 12.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006613/2.048, allocations: 0.5809 MB / 0.6806 GB, free: 11.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/2.048, allocations: 0 / 0.6806 GB, free: 11.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002804/2.051, allocations: 1.169 MB / 0.6817 GB, free: 10.34 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.006463/2.057, allocations: 2.833 MB / 0.6845 GB, free: 7.508 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001335/2.059, allocations: 0.5731 MB / 0.685 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/2.059, allocations: 0 / 0.685 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006783/2.059, allocations: 308.6 kB / 0.6853 GB, free: 6.629 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/2.06, allocations: 92.67 kB / 0.6854 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009906/2.07, allocations: 6.704 MB / 0.692 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/2.07, allocations: 0.981 MB / 0.6929 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001737/2.071, allocations: 43.22 kB / 0.693 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/2.071, allocations: 259.3 kB / 0.6932 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/2.071, allocations: 0 / 0.6932 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08982/2.161, allocations: 52.05 MB / 0.744 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/17.59, allocations: 9 kB / 0.744 GB, free: 11.06 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump13.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.749545873957686] Failed to read output from testmodel.py, exit status != 0: 17.934703491046093 18.152219678 16.208831893 Calling exit ...