Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.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.8535/0.8535, allocations: 153.9 MB / 172.7 MB, free: 4.941 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.TestCentrifugalPump8,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005351/0.0005351, allocations: 15.95 kB / 249.9 MB, free: 4.43 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1708, allocations: 33.36 MB / 283.2 MB, free: 1.812 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.TestCentrifugalPump8): time 1.938/2.108, allocations: 307.6 MB / 0.577 GB, free: 16.06 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02961/2.138, allocations: 31.54 MB / 0.6078 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/2.138, allocations: 2.594 kB / 0.6078 GB, free: 0.5078 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/SourceAngularVelocity.mo:11:3-15: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.0005143/2.139, allocations: 140 kB / 0.6079 GB, free: 448 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/2.139, allocations: 116.7 kB / 0.6081 GB, free: 376 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.02581/2.165, allocations: 8.686 MB / 0.6165 GB, free: 12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007594/2.166, allocations: 443 kB / 0.617 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/2.166, allocations: 175 kB / 0.6171 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/2.167, allocations: 197 kB / 0.6173 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/2.167, allocations: 186.7 kB / 0.6175 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/2.167, allocations: 29.72 kB / 0.6175 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03168/2.199, allocations: 15.16 MB / 0.6323 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/2.199, allocations: 191.3 kB / 0.6325 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003752/2.199, allocations: 289.8 kB / 0.6328 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01946/2.219, allocations: 7.974 MB / 0.6406 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/2.219, allocations: 0 / 0.6406 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/2.219, allocations: 0 / 0.6406 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.514e-05/2.219, allocations: 0.625 kB / 0.6406 GB, free: 4.297 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004578/2.223, allocations: 1.837 MB / 0.6424 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/2.223, allocations: 12.02 kB / 0.6424 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.221e-05/2.223, allocations: 70.53 kB / 0.6424 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/2.224, allocations: 107.3 kB / 0.6426 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/2.224, allocations: 369.4 kB / 0.6429 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/2.224, allocations: 24.66 kB / 0.6429 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/2.224, allocations: 32 kB / 0.643 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009385/2.225, allocations: 0.5692 MB / 0.6435 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/2.225, allocations: 0.9375 kB / 0.6435 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/2.225, allocations: 16 kB / 0.6435 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/2.225, allocations: 12 kB / 0.6435 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/2.226, allocations: 0.6115 MB / 0.6441 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/2.229, allocations: 2.262 MB / 0.6463 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/2.23, allocations: 0.766 MB / 0.6471 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004709/2.231, allocations: 284.9 kB / 0.6474 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07956/2.31, allocations: 22.52 MB / 0.6694 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/2.31, allocations: 34.56 kB / 0.6694 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.154e-06/2.31, allocations: 0 / 0.6694 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.004655/2.315, allocations: 1.471 MB / 0.6708 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/2.315, allocations: 51.41 kB / 0.6709 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/2.316, allocations: 0.8063 MB / 0.6717 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/2.316, allocations: 37.7 kB / 0.6717 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/2.316, allocations: 372.7 kB / 0.6721 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/2.316, allocations: 134.8 kB / 0.6722 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/2.317, allocations: 66.62 kB / 0.6723 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001649/2.317, allocations: 321.9 kB / 0.6726 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/2.317, allocations: 259.9 kB / 0.6728 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/2.318, allocations: 317 kB / 0.6731 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009732/2.319, allocations: 0.584 MB / 0.6737 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/2.319, allocations: 0 / 0.6737 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001694/2.32, allocations: 0.8821 MB / 0.6745 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/2.32, allocations: 10.19 kB / 0.6745 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/2.32, allocations: 0 / 0.6745 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004607/2.325, allocations: 0.8009 MB / 0.6753 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/2.325, allocations: 40.47 kB / 0.6754 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/2.327, allocations: 1.273 MB / 0.6766 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/2.327, allocations: 52.64 kB / 0.6767 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/2.327, allocations: 12 kB / 0.6767 GB, free: 14.95 MB / 0.545 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 (sink.C.a,sourcePQ.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 (18): * Single equations (assignments): 17 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003592/2.328, allocations: 246.7 kB / 0.6769 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/2.328, allocations: 91.39 kB / 0.677 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/2.33, allocations: 1.029 MB / 0.678 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001589/2.331, allocations: 0.8534 MB / 0.6788 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/2.331, allocations: 4 kB / 0.6788 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/2.331, allocations: 0 / 0.6788 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/2.335, allocations: 1.861 MB / 0.6807 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/2.335, allocations: 0 / 0.6807 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/2.335, allocations: 47.91 kB / 0.6807 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002386/2.337, allocations: 0.5586 MB / 0.6812 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/2.337, allocations: 8.562 kB / 0.6813 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/2.339, allocations: 1.306 MB / 0.6825 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.339, allocations: 0 / 0.6825 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/2.341, allocations: 1.048 MB / 0.6836 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/2.341, allocations: 108.1 kB / 0.6837 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.028e-05/2.341, allocations: 15.92 kB / 0.6837 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/2.342, allocations: 20.83 kB / 0.6837 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/2.342, allocations: 23.95 kB / 0.6837 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/2.342, allocations: 17.19 kB / 0.6837 GB, free: 7.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007701/2.342, allocations: 0.5653 MB / 0.6843 GB, free: 7.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/2.342, allocations: 0 / 0.6843 GB, free: 7.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003416/2.346, allocations: 1.154 MB / 0.6854 GB, free: 5.879 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 (22): * Single equations (assignments): 21 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00784/2.354, allocations: 3.109 MB / 0.6884 GB, free: 2.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001578/2.355, allocations: 0.6934 MB / 0.6891 GB, free: 2.066 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/2.355, allocations: 320 / 0.6891 GB, free: 2.066 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008145/2.356, allocations: 396.1 kB / 0.6895 GB, free: 1.684 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/2.357, allocations: 101.9 kB / 0.6896 GB, free: 1.594 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/2.37, allocations: 7.677 MB / 0.6971 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/2.37, allocations: 0.9771 MB / 0.6981 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001444/2.37, allocations: 33.06 kB / 0.6981 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/2.371, allocations: 271.3 kB / 0.6983 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/2.371, allocations: 3.938 kB / 0.6983 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/2.486, allocations: 52.48 MB / 0.7496 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/19.2, allocations: 5.438 kB / 0.7496 GB, free: 4.672 MB / 0.6075 GB " [Timeout remaining time 640] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump8_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCentrifugalPump8.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.473250858020037] Failed to read output from testmodel.py, exit status != 0: 19.772853225003928 19.785062241 17.563723093 Calling exit ...