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.8148/0.8148, allocations: 153.8 MB / 170.2 MB, free: 13.77 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.0005155/0.0005155, allocations: 17.64 kB / 246.3 MB, free: 14.88 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06165/0.06217, allocations: 33.35 MB / 279.7 MB, free: 15.11 MB / 238.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.679/1.742, allocations: 307.5 MB / 0.5734 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03705/1.779, allocations: 31.49 MB / 0.6041 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/1.779, allocations: 0 / 0.6041 GB, free: 10.77 MB / 494.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.0004413/1.779, allocations: 138.6 kB / 0.6042 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/1.78, allocations: 121.1 kB / 0.6044 GB, free: 10.52 MB / 494.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.02198/1.802, allocations: 8.611 MB / 0.6128 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006605/1.802, allocations: 446.3 kB / 0.6132 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/1.802, allocations: 165.3 kB / 0.6134 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/1.803, allocations: 199.2 kB / 0.6135 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/1.803, allocations: 183.2 kB / 0.6137 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/1.803, allocations: 28 kB / 0.6137 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02595/1.829, allocations: 15.16 MB / 0.6285 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/1.829, allocations: 187.3 kB / 0.6287 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003063/1.83, allocations: 301.8 kB / 0.629 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01707/1.847, allocations: 7.958 MB / 0.6368 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.847, allocations: 0 / 0.6368 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.854e-06/1.847, allocations: 0 / 0.6368 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.849e-06/1.847, allocations: 0 / 0.6368 GB, free: 9.258 MB / 0.5137 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.004795/1.851, allocations: 1.917 MB / 0.6387 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.851, allocations: 8.031 kB / 0.6387 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.107e-05/1.852, allocations: 74.53 kB / 0.6387 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/1.852, allocations: 99.33 kB / 0.6388 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/1.852, allocations: 435.2 kB / 0.6392 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/1.852, allocations: 20.66 kB / 0.6393 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/1.852, allocations: 36 kB / 0.6393 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008938/1.853, allocations: 0.573 MB / 0.6399 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.853, allocations: 0 / 0.6399 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/1.853, allocations: 16 kB / 0.6399 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/1.853, allocations: 11.94 kB / 0.6399 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/1.854, allocations: 0.6151 MB / 0.6405 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/1.856, allocations: 2.283 MB / 0.6427 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/1.858, allocations: 0.8397 MB / 0.6435 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004501/1.858, allocations: 281 kB / 0.6438 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08996/1.948, allocations: 47.06 MB / 0.6898 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/1.948, allocations: 38.56 kB / 0.6898 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 2.275e-06/1.948, allocations: 0 / 0.6898 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.004501/1.953, allocations: 1.553 MB / 0.6913 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/1.953, allocations: 55.41 kB / 0.6914 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/1.954, allocations: 0.8062 MB / 0.6922 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/1.954, allocations: 29.7 kB / 0.6922 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/1.954, allocations: 376.7 kB / 0.6925 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/1.954, allocations: 138.8 kB / 0.6927 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/1.954, allocations: 69.64 kB / 0.6927 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.955, allocations: 322 kB / 0.693 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/1.955, allocations: 259.9 kB / 0.6933 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/1.955, allocations: 316.9 kB / 0.6936 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009225/1.956, allocations: 0.5815 MB / 0.6942 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.956, allocations: 96 / 0.6942 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001568/1.958, allocations: 0.8821 MB / 0.695 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.958, allocations: 4 kB / 0.695 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.958, allocations: 4 kB / 0.695 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004251/1.962, allocations: 0.8068 MB / 0.6958 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/1.962, allocations: 31.97 kB / 0.6959 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/1.964, allocations: 1.279 MB / 0.6971 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/1.964, allocations: 47.67 kB / 0.6971 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/1.964, allocations: 8 kB / 0.6972 GB, free: 4.879 MB / 0.5762 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.0003103/1.965, allocations: 257.6 kB / 0.6974 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/1.965, allocations: 83.44 kB / 0.6975 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/1.967, allocations: 1.022 MB / 0.6985 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001486/1.968, allocations: 0.8533 MB / 0.6993 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.968, allocations: 0 / 0.6993 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/1.968, allocations: 7.922 kB / 0.6993 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/1.971, allocations: 1.882 MB / 0.7012 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.971, allocations: 4 kB / 0.7012 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/1.971, allocations: 47.91 kB / 0.7012 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002294/1.974, allocations: 0.5595 MB / 0.7018 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/1.974, allocations: 8 kB / 0.7018 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/1.975, allocations: 1.317 MB / 0.703 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.975, allocations: 0 / 0.703 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/1.977, allocations: 1.04 MB / 0.7041 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/1.977, allocations: 188.3 kB / 0.7042 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/1.977, allocations: 8 kB / 0.7042 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/1.977, allocations: 15.98 kB / 0.7043 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/1.977, allocations: 31.89 kB / 0.7043 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/1.977, allocations: 12 kB / 0.7043 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006902/1.978, allocations: 0.5614 MB / 0.7049 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.978, allocations: 0 / 0.7049 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003078/1.981, allocations: 1.161 MB / 0.706 GB, free: 11.68 MB / 0.5919 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.007488/1.989, allocations: 3.108 MB / 0.709 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001467/1.99, allocations: 0.6987 MB / 0.7097 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.99, allocations: 0 / 0.7097 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007894/1.991, allocations: 394.9 kB / 0.7101 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/1.992, allocations: 102.8 kB / 0.7102 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1947/2.186, allocations: 7.662 MB / 0.7177 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/2.187, allocations: 0.9824 MB / 0.7186 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001588/2.187, allocations: 26.67 kB / 0.7186 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/2.187, allocations: 272.2 kB / 0.7189 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/2.187, allocations: 0 / 0.7189 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08096/2.268, allocations: 52.02 MB / 0.7697 GB, free: 177.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/16.92, allocations: 5.078 kB / 0.7697 GB, free: 177.6 MB / 0.5919 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8_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_TestCentrifugalPump8.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.78489054700185] Failed to read output from testmodel.py, exit status != 0: 17.177691186006996 17.185662677 15.337024261 Calling exit ...