Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 211.3 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.378/1.378, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002383/0.002383, allocations: 279 kB / 312.7 MB, free: 2.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.163/1.163, allocations: 180.6 MB / 0.5369 GB, free: 13.05 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 99.56 kB / 0.7396 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1684, allocations: 95.37 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.6281/0.7965, allocations: 179.7 MB / 1.008 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00973/0.8063, allocations: 8.845 MB / 1.017 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000995/0.8073, allocations: 28.75 kB / 1.017 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008867/0.8082, allocations: 305.3 kB / 1.017 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009896/0.8092, allocations: 324.5 kB / 1.018 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.8103, allocations: 410.8 kB / 1.018 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001368/0.8117, allocations: 1.177 MB / 1.019 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006266/0.8123, allocations: 450.2 kB / 1.019 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004619/0.8169, allocations: 2.177 MB / 1.022 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005681/0.8175, allocations: 380.8 kB / 1.022 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.8175, allocations: 39.72 kB / 1.022 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.8178, allocations: 86.62 kB / 1.022 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.818, allocations: 277.3 kB / 1.022 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.8182, allocations: 279.3 kB / 1.023 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006159/0.8189, allocations: 0.6429 MB / 1.023 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8189, allocations: 0 / 1.023 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8189, allocations: 0.7812 kB / 1.023 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.8189, allocations: 0 / 1.023 GB, free: 3.016 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0009861/0.8199, allocations: 0.7561 MB / 1.024 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.8199, allocations: 10.84 kB / 1.024 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.964e-05/0.82, allocations: 99.31 kB / 1.024 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.242e-05/0.8201, allocations: 73.23 kB / 1.024 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.8207, allocations: 381.4 kB / 1.025 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.8207, allocations: 43.05 kB / 1.025 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.8208, allocations: 53.03 kB / 1.025 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008026/0.8216, allocations: 0.701 MB / 1.025 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.8216, allocations: 2.25 kB / 1.025 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.8217, allocations: 22.67 kB / 1.025 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.8217, allocations: 34.03 kB / 1.025 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.8222, allocations: 375.5 kB / 1.026 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.8246, allocations: 3.155 MB / 1.029 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.8248, allocations: 219.2 kB / 1.029 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.825, allocations: 130.7 kB / 1.029 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.825, allocations: 3.406 kB / 1.029 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.825, allocations: 50.88 kB / 1.029 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.825, allocations: 0 / 1.029 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.000652/0.8257, allocations: 255.7 kB / 1.029 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.8259, allocations: 291.2 kB / 1.03 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000607/0.8265, allocations: 0.6869 MB / 1.03 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.8265, allocations: 25.7 kB / 1.03 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.8266, allocations: 272.2 kB / 1.031 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.8267, allocations: 35.11 kB / 1.031 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.8267, allocations: 35.28 kB / 1.031 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.8269, allocations: 370.4 kB / 1.031 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.9e-05/0.827, allocations: 40.11 kB / 1.031 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.8271, allocations: 96.5 kB / 1.031 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.8273, allocations: 127.9 kB / 1.031 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8273, allocations: 0.75 kB / 1.031 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003025/0.8276, allocations: 195.1 kB / 1.032 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.8276, allocations: 6.25 kB / 1.032 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8276, allocations: 0.9062 kB / 1.032 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8277, allocations: 6.281 kB / 1.032 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.8279, allocations: 42.52 kB / 1.032 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.8279, allocations: 1.812 kB / 1.032 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.8281, allocations: 62.81 kB / 1.032 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.8281, allocations: 7.719 kB / 1.032 GB, free: 14.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001924/0.8283, allocations: 199.5 kB / 1.032 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.8285, allocations: 65.44 kB / 1.032 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.327e-05/0.8285, allocations: 58.25 kB / 1.032 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.8286, allocations: 7.312 kB / 1.032 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8286, allocations: 5.25 kB / 1.032 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.8286, allocations: 8.281 kB / 1.032 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.8299, allocations: 1.269 MB / 1.033 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8299, allocations: 2.875 kB / 1.033 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.8301, allocations: 44.33 kB / 1.033 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.8301, allocations: 4.5 kB / 1.033 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.8301, allocations: 2.5 kB / 1.033 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.8301, allocations: 3.906 kB / 1.033 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8301, allocations: 5.781 kB / 1.033 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.8305, allocations: 343.7 kB / 1.034 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.8306, allocations: 79.06 kB / 1.034 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.8306, allocations: 3.438 kB / 1.034 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.8308, allocations: 11.44 kB / 1.034 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.8308, allocations: 17.5 kB / 1.034 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.8309, allocations: 5.625 kB / 1.034 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004478/0.8313, allocations: 0.4972 MB / 1.034 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8313, allocations: 0.625 kB / 1.034 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003672/0.8317, allocations: 86.67 kB / 1.034 GB, free: 12.62 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007169/0.8324, allocations: 0.8951 MB / 1.035 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.8327, allocations: 106.5 kB / 1.035 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8327, allocations: 0 / 1.035 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.8328, allocations: 62.8 kB / 1.035 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.8339, allocations: 285.8 kB / 1.036 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.8383, allocations: 4.451 MB / 1.04 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.8388, allocations: 0.9064 MB / 1.041 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002483/0.839, allocations: 103.1 kB / 1.041 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.8392, allocations: 171.3 kB / 1.041 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.8392, allocations: 4.031 kB / 1.041 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04229/0.8815, allocations: 13.77 MB / 1.055 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.6, allocations: 13.67 kB / 1.055 GB, free: 6.488 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.61746755400236] Failed to read output from testmodel.py, exit status != 0: 11.718992726000579 11.733272041 10.911678196 Calling exit ...