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.8031/0.8031, allocations: 153.9 MB / 172.7 MB, free: 4.93 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.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.0005138, allocations: 19.97 kB / 249.9 MB, free: 4.414 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1672, allocations: 33.36 MB / 283.2 MB, free: 1.809 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.801/1.968, allocations: 307.6 MB / 0.577 GB, free: 16.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03507/2.003, allocations: 34.71 MB / 0.6109 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/2.003, allocations: 2.344 kB / 0.6109 GB, free: 14.38 MB / 494.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.0004966/2.004, allocations: 139.1 kB / 0.611 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/2.004, allocations: 129.5 kB / 0.6111 GB, free: 14.22 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.02925/2.033, allocations: 9.836 MB / 0.6207 GB, free: 8.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008377/2.034, allocations: 406.2 kB / 0.6211 GB, free: 8.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/2.034, allocations: 112.8 kB / 0.6212 GB, free: 8.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/2.035, allocations: 175.2 kB / 0.6214 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/2.035, allocations: 136.6 kB / 0.6215 GB, free: 7.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/2.035, allocations: 24 kB / 0.6215 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03542/2.07, allocations: 17.91 MB / 0.639 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/2.071, allocations: 55.78 kB / 0.6391 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002264/2.071, allocations: 155.2 kB / 0.6392 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02055/2.091, allocations: 8.483 MB / 0.6475 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/2.091, allocations: 0 / 0.6475 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/2.091, allocations: 4 kB / 0.6475 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.299e-05/2.091, allocations: 0 / 0.6475 GB, free: 13.2 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004152/2.095, allocations: 1.462 MB / 0.6489 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/2.096, allocations: 8.031 kB / 0.6489 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.451e-05/2.096, allocations: 75.41 kB / 0.649 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/2.096, allocations: 35.77 kB / 0.649 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/2.096, allocations: 196.6 kB / 0.6492 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/2.096, allocations: 16.44 kB / 0.6493 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/2.096, allocations: 27.98 kB / 0.6493 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/2.097, allocations: 338 kB / 0.6496 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/2.097, allocations: 0 / 0.6496 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/2.097, allocations: 16 kB / 0.6496 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/2.097, allocations: 8 kB / 0.6496 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/2.097, allocations: 225 kB / 0.6498 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03387/2.131, allocations: 11.24 MB / 0.6608 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/2.131, allocations: 182.4 kB / 0.661 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/2.131, allocations: 101.6 kB / 0.6611 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1408/2.272, allocations: 43.4 MB / 0.7035 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/2.272, allocations: 50.56 kB / 0.7035 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.034e-06/2.272, allocations: 0 / 0.7035 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41): time 0.004128/2.276, allocations: 0.8653 MB / 0.7044 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/2.277, allocations: 51.41 kB / 0.7044 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/2.277, allocations: 250.9 kB / 0.7046 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/2.277, allocations: 25.7 kB / 0.7047 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/2.277, allocations: 160.7 kB / 0.7048 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/2.277, allocations: 142.7 kB / 0.705 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.564e-05/2.277, allocations: 61.64 kB / 0.705 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001641/2.277, allocations: 338.8 kB / 0.7053 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/2.277, allocations: 100.4 kB / 0.7054 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/2.278, allocations: 154.8 kB / 0.7056 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/2.278, allocations: 270.2 kB / 0.7058 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/2.278, allocations: 0 / 0.7058 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002342/2.28, allocations: 0.5986 MB / 0.7064 GB, free: 464 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/2.28, allocations: 8.938 kB / 0.7064 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/2.28, allocations: 0 / 0.7064 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007923/2.281, allocations: 221.2 kB / 0.7066 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/2.281, allocations: 19.92 kB / 0.7067 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008945/2.282, allocations: 0.7474 MB / 0.7074 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/2.282, allocations: 33 kB / 0.7074 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/2.282, allocations: 4 kB / 0.7074 GB, free: 15.4 MB / 0.5762 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.0001444/2.283, allocations: 142.4 kB / 0.7076 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/2.283, allocations: 31.86 kB / 0.7076 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/2.284, allocations: 0.7852 MB / 0.7084 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004866/2.284, allocations: 287 kB / 0.7086 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/2.284, allocations: 0.8906 kB / 0.7086 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/2.284, allocations: 0 / 0.7086 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/2.285, allocations: 0.8419 MB / 0.7095 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/2.285, allocations: 0.8438 kB / 0.7095 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/2.286, allocations: 19.94 kB / 0.7095 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006512/2.286, allocations: 202.8 kB / 0.7097 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/2.286, allocations: 0 / 0.7097 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008427/2.287, allocations: 0.7729 MB / 0.7104 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/2.287, allocations: 0 / 0.7104 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006233/2.288, allocations: 416.6 kB / 0.7108 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-05/2.288, allocations: 47.67 kB / 0.7109 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/2.288, allocations: 8.891 kB / 0.7109 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/2.288, allocations: 13.05 kB / 0.7109 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/2.288, allocations: 11.98 kB / 0.7109 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/2.288, allocations: 11.98 kB / 0.7109 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002739/2.288, allocations: 255 kB / 0.7112 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/2.288, allocations: 0 / 0.7112 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003078/2.291, allocations: 1.212 MB / 0.7123 GB, free: 10.18 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.005522/2.297, allocations: 2.605 MB / 0.7149 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007343/2.298, allocations: 298.9 kB / 0.7152 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/2.298, allocations: 0 / 0.7152 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/2.298, allocations: 131.8 kB / 0.7153 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/2.299, allocations: 136.4 kB / 0.7154 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008451/2.307, allocations: 3.905 MB / 0.7192 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/2.308, allocations: 0.7795 MB / 0.72 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001138/2.308, allocations: 24.36 kB / 0.72 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/2.308, allocations: 103.4 kB / 0.7201 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/2.308, allocations: 0 / 0.7201 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09712/2.405, allocations: 49.47 MB / 0.7684 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/16.73, allocations: 11.98 kB / 0.7684 GB, free: 1.25 MB / 0.6231 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1_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_TestStaticCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.819739041000048] Failed to read output from testmodel.py, exit status != 0: 17.26529136599993 17.276476745 15.182654408 Calling exit ...