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.001715/0.001715, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.002496/0.002496, allocations: 212 kB / 19.43 MB, free: 3.637 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.348/1.348, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 295.7 kB / 309.1 MB, free: 3.996 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.163/1.163, allocations: 180.9 MB / 0.5333 GB, free: 13.73 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002716/0.002716, allocations: 108.5 kB / 0.7342 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1672, allocations: 95.33 MB / 0.8273 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.6511/0.8183, allocations: 179.5 MB / 1.003 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00885/0.8271, allocations: 8.765 MB / 1.011 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007699/0.8279, allocations: 32.09 kB / 1.011 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006609/0.8285, allocations: 306.5 kB / 1.012 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006253/0.8292, allocations: 327.4 kB / 1.012 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008666/0.83, allocations: 375.6 kB / 1.012 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009603/0.831, allocations: 1.157 MB / 1.013 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006125/0.8316, allocations: 0.4951 MB / 1.014 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004284/0.8359, allocations: 2.137 MB / 1.016 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005037/0.8364, allocations: 374.3 kB / 1.016 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.358e-05/0.8365, allocations: 41.16 kB / 1.016 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.8367, allocations: 90.17 kB / 1.016 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.8369, allocations: 268.2 kB / 1.017 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.8372, allocations: 278.6 kB / 1.017 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.8378, allocations: 0.6369 MB / 1.017 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8378, allocations: 8.656 kB / 1.018 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8378, allocations: 3.938 kB / 1.018 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.8379, allocations: 0 / 1.018 GB, free: 2.84 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.001082/0.8389, allocations: 0.8329 MB / 1.018 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.839, allocations: 9.5 kB / 1.018 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.691e-05/0.8391, allocations: 98.7 kB / 1.018 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.653e-05/0.8392, allocations: 72.55 kB / 1.018 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006056/0.8398, allocations: 451.4 kB / 1.019 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.8398, allocations: 38.33 kB / 1.019 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.8399, allocations: 53.16 kB / 1.019 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000816/0.8407, allocations: 0.6996 MB / 1.02 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.8407, allocations: 5.344 kB / 1.02 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.8407, allocations: 27.53 kB / 1.02 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.463e-05/0.8408, allocations: 32.97 kB / 1.02 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/0.8413, allocations: 377.3 kB / 1.02 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.8437, allocations: 3.213 MB / 1.023 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.8439, allocations: 220.3 kB / 1.023 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.844, allocations: 127 kB / 1.024 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.844, allocations: 8.094 kB / 1.024 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.8441, allocations: 43.81 kB / 1.024 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 2.445e-06/0.8441, allocations: 4.312 kB / 1.024 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006595/0.8447, allocations: 254.8 kB / 1.024 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/0.8449, allocations: 294.9 kB / 1.024 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006255/0.8455, allocations: 0.6863 MB / 1.025 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.8456, allocations: 30.45 kB / 1.025 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.8457, allocations: 273.5 kB / 1.025 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.8457, allocations: 36.28 kB / 1.025 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.8458, allocations: 30.84 kB / 1.025 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8459, allocations: 374.9 kB / 1.026 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.8461, allocations: 35.78 kB / 1.026 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.8462, allocations: 95.52 kB / 1.026 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.8464, allocations: 128.3 kB / 1.026 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8464, allocations: 4.438 kB / 1.026 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002959/0.8467, allocations: 185.2 kB / 1.026 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.8467, allocations: 7.125 kB / 1.026 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.8467, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.8467, allocations: 6.688 kB / 1.026 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.8469, allocations: 46.94 kB / 1.026 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.8469, allocations: 7.281 kB / 1.026 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.8471, allocations: 58.08 kB / 1.026 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.8471, allocations: 8.469 kB / 1.026 GB, free: 13.73 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.000176/0.8473, allocations: 201.1 kB / 1.026 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.8475, allocations: 61.66 kB / 1.026 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.8476, allocations: 62.23 kB / 1.026 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.8476, allocations: 6.625 kB / 1.026 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.8476, allocations: 6.125 kB / 1.026 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8476, allocations: 3.094 kB / 1.026 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.8489, allocations: 1.303 MB / 1.028 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8489, allocations: 6.531 kB / 1.028 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.8491, allocations: 41.98 kB / 1.028 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.8491, allocations: 4.406 kB / 1.028 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.8491, allocations: 5.5 kB / 1.028 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.8491, allocations: 6.125 kB / 1.028 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8491, allocations: 2.844 kB / 1.028 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.8494, allocations: 341.3 kB / 1.028 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.8496, allocations: 148.7 kB / 1.028 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.8496, allocations: 9.219 kB / 1.028 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.8498, allocations: 8.969 kB / 1.028 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.8498, allocations: 16.72 kB / 1.028 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.8498, allocations: 9.969 kB / 1.028 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004408/0.8503, allocations: 0.4936 MB / 1.029 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8503, allocations: 0.9062 kB / 1.029 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003694/0.8506, allocations: 84.86 kB / 1.029 GB, free: 12.14 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.0007791/0.8514, allocations: 0.8964 MB / 1.03 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003003/0.8517, allocations: 107.7 kB / 1.03 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.8517, allocations: 0 / 1.03 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.8518, allocations: 71.48 kB / 1.03 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.853, allocations: 281.2 kB / 1.03 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/0.8575, allocations: 4.451 MB / 1.034 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.8581, allocations: 0.9072 MB / 1.035 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002848/0.8583, allocations: 105.2 kB / 1.035 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.8585, allocations: 170.4 kB / 1.036 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.8585, allocations: 1 kB / 1.036 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/0.8971, allocations: 13.63 MB / 1.049 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.539/9.436, allocations: 10.5 kB / 1.049 GB, free: 6.176 MB / 0.7325 GB " [Timeout remaining time 650] (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: 13.457647470291704] Failed to read output from testmodel.py, exit status != 0: 9.510252908803523 9.527771137 8.686187275 Calling exit ...