Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.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.001277/0.001277, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.00141/0.00141, allocations: 204 kB / 20.09 MB, free: 2.977 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.49/1.49, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.001/1.001, allocations: 150 MB / 459.5 MB, free: 5.316 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002031/0.002031, allocations: 70.09 kB / 0.6362 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2049, allocations: 89.13 MB / 0.7232 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Average): time 0.002572/0.2074, allocations: 0.6923 MB / 0.7239 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.2087, allocations: 0.8319 MB / 0.7247 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.2087, allocations: 8 kB / 0.7247 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.2088, allocations: 0 / 0.7247 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.2089, allocations: 7.875 kB / 0.7247 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.874e-05/0.2089, allocations: 11.98 kB / 0.7247 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.2091, allocations: 47.84 kB / 0.7248 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.2092, allocations: 11.97 kB / 0.7248 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.955e-05/0.2093, allocations: 19.92 kB / 0.7248 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.2093, allocations: 19.92 kB / 0.7248 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.2094, allocations: 4 kB / 0.7248 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.2094, allocations: 4 kB / 0.7248 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.2094, allocations: 11.98 kB / 0.7248 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.2094, allocations: 19.86 kB / 0.7249 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.2095, allocations: 44.08 kB / 0.7249 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2095, allocations: 0 / 0.7249 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2095, allocations: 3.938 kB / 0.7249 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2096, allocations: 4 kB / 0.7249 GB, free: 2.25 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007036/0.2103, allocations: 365.2 kB / 0.7253 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.2103, allocations: 8.031 kB / 0.7253 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.2103, allocations: 34.75 kB / 0.7253 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.2104, allocations: 8.922 kB / 0.7253 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.2105, allocations: 168.3 kB / 0.7255 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2106, allocations: 8.375 kB / 0.7255 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2106, allocations: 384 / 0.7255 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.2108, allocations: 66.22 kB / 0.7255 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.2109, allocations: 3.938 kB / 0.7255 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.2109, allocations: 4 kB / 0.7255 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2109, allocations: 4 kB / 0.7256 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.2112, allocations: 67.86 kB / 0.7256 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.2116, allocations: 260.9 kB / 0.7259 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.2118, allocations: 58.53 kB / 0.7259 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.212, allocations: 36.92 kB / 0.726 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.212, allocations: 0 / 0.726 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.212, allocations: 30.56 kB / 0.726 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.212, allocations: 3.938 kB / 0.726 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005534/0.2126, allocations: 133.5 kB / 0.7261 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.2126, allocations: 55.41 kB / 0.7262 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2127, allocations: 109.8 kB / 0.7263 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2127, allocations: 29.64 kB / 0.7263 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.2128, allocations: 88.14 kB / 0.7264 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.2128, allocations: 7.906 kB / 0.7264 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.2129, allocations: 21.7 kB / 0.7264 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.213, allocations: 318.8 kB / 0.7267 GB, free: 176 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.2131, allocations: 27.97 kB / 0.7267 GB, free: 148 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.2133, allocations: 35.95 kB / 0.7268 GB, free: 112 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.2136, allocations: 76.66 kB / 0.7269 GB, free: 32 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2136, allocations: 4 kB / 0.7269 GB, free: 28 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003842/0.214, allocations: 93.7 kB / 0.7269 GB, free: 15.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.214, allocations: 10.19 kB / 0.727 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.214, allocations: 0 / 0.727 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.214, allocations: 4 kB / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2141, allocations: 11.98 kB / 0.727 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2141, allocations: 4 kB / 0.727 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.363e-05/0.2142, allocations: 11.97 kB / 0.727 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.2142, allocations: 4 kB / 0.727 GB, free: 15.88 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 9.678e-05/0.2143, allocations: 113.8 kB / 0.7271 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.2144, allocations: 7.953 kB / 0.7271 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.2144, allocations: 8.234 kB / 0.7271 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2144, allocations: 3.938 kB / 0.7271 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2144, allocations: 0 / 0.7271 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2144, allocations: 3.984 kB / 0.7271 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.2146, allocations: 177.5 kB / 0.7273 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2146, allocations: 0 / 0.7273 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.2147, allocations: 15.98 kB / 0.7273 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.2147, allocations: 0 / 0.7273 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2147, allocations: 0 / 0.7273 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2147, allocations: 0 / 0.7273 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2147, allocations: 4 kB / 0.7273 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.2151, allocations: 195.4 kB / 0.7275 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.2152, allocations: 85.06 kB / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.2152, allocations: 0 / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2153, allocations: 15.98 kB / 0.7276 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.2154, allocations: 4 kB / 0.7276 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2154, allocations: 0 / 0.7276 GB, free: 15.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.913e-05/0.2154, allocations: 99.14 kB / 0.7277 GB, free: 15.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2154, allocations: 0 / 0.7277 GB, free: 15.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002146/0.2156, allocations: 8 kB / 0.7277 GB, free: 15.05 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 (3): * Single equations (assignments): 3 * 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.0007447/0.2164, allocations: 0.726 MB / 0.7284 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.2167, allocations: 71.92 kB / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2167, allocations: 4 kB / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.2169, allocations: 35.91 kB / 0.7285 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.2172, allocations: 11.92 kB / 0.7285 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.2176, allocations: 159 kB / 0.7287 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.218, allocations: 0.6807 MB / 0.7293 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.717e-05/0.218, allocations: 4 kB / 0.7293 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.218, allocations: 11.44 kB / 0.7294 GB, free: 13.27 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.218, allocations: 0 / 0.7294 GB, free: 13.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.2417, allocations: 1.637 MB / 0.731 GB, free: 11.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.281, allocations: 3.938 kB / 0.731 GB, free: 11.73 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.274424233008176] Failed to read output from testmodel.py, exit status != 0: 8.351705180946738 8.379775567 8.165305717 Calling exit ...