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.001493/0.001493, allocations: 113.3 kB / 19.7 MB, free: 2.043 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.002019/0.002019, allocations: 226.6 kB / 23.01 MB, free: 4.934 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.949 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 0.9585/0.9585, allocations: 150 MB / 463.2 MB, free: 10.45 MB / 366.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.001963/0.001963, allocations: 69.39 kB / 0.6413 GB, free: 10.24 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1804, allocations: 89.18 MB / 0.7284 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Average): time 0.002152/0.1825, allocations: 0.6829 MB / 0.7291 GB, free: 464 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1838, allocations: 0.8315 MB / 0.7299 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.1839, allocations: 0 / 0.7299 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.1839, allocations: 7.938 kB / 0.7299 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.767e-05/0.184, allocations: 11.92 kB / 0.7299 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.169e-05/0.1841, allocations: 7.984 kB / 0.7299 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.1842, allocations: 43.86 kB / 0.73 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1844, allocations: 11.97 kB / 0.73 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.435e-05/0.1845, allocations: 23.88 kB / 0.73 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.1845, allocations: 23.91 kB / 0.73 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1846, allocations: 4 kB / 0.73 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.1846, allocations: 4 kB / 0.73 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.1846, allocations: 4 kB / 0.73 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.1846, allocations: 23.86 kB / 0.73 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.1847, allocations: 48.02 kB / 0.7301 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1847, allocations: 0 / 0.7301 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1847, allocations: 0 / 0.7301 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.1848, allocations: 0 / 0.7301 GB, free: 15.4 MB / 0.5606 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.0005662/0.1853, allocations: 294.2 kB / 0.7304 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1854, allocations: 8.031 kB / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.1854, allocations: 34.73 kB / 0.7304 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.1854, allocations: 8.938 kB / 0.7304 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1856, allocations: 114.4 kB / 0.7305 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1856, allocations: 4.375 kB / 0.7305 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.1856, allocations: 384 / 0.7305 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1858, allocations: 74.16 kB / 0.7306 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1858, allocations: 7.922 kB / 0.7306 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1858, allocations: 0 / 0.7306 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1858, allocations: 0 / 0.7306 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.1861, allocations: 67.92 kB / 0.7307 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.1865, allocations: 236 kB / 0.7309 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.1867, allocations: 54.58 kB / 0.731 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.1868, allocations: 40.81 kB / 0.731 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.1869, allocations: 0 / 0.731 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1869, allocations: 34.56 kB / 0.731 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1869, allocations: 0 / 0.731 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000553/0.1874, allocations: 133.5 kB / 0.7312 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.1875, allocations: 55.34 kB / 0.7312 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.1876, allocations: 109.8 kB / 0.7313 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1876, allocations: 25.7 kB / 0.7313 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.1877, allocations: 92.08 kB / 0.7314 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.1877, allocations: 3.953 kB / 0.7314 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.1877, allocations: 17.72 kB / 0.7314 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1879, allocations: 318.8 kB / 0.7317 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.188, allocations: 31.97 kB / 0.7318 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.1881, allocations: 31.95 kB / 0.7318 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.1884, allocations: 72.73 kB / 0.7319 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1884, allocations: 0 / 0.7319 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002999/0.1887, allocations: 101.6 kB / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1887, allocations: 7.938 kB / 0.732 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1887, allocations: 0 / 0.732 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1887, allocations: 0 / 0.732 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1888, allocations: 23.98 kB / 0.732 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1888, allocations: 320 / 0.732 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.1889, allocations: 11.98 kB / 0.732 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1889, allocations: 0 / 0.732 GB, free: 13.23 MB / 0.5606 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 8.857e-05/0.189, allocations: 125.7 kB / 0.7321 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.189, allocations: 7.953 kB / 0.7321 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.1891, allocations: 8 kB / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1891, allocations: 0 / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1891, allocations: 4 kB / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1891, allocations: 0 / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1892, allocations: 140.7 kB / 0.7323 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1892, allocations: 0 / 0.7323 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.1893, allocations: 15.97 kB / 0.7323 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1893, allocations: 0 / 0.7323 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1893, allocations: 4 kB / 0.7323 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1894, allocations: 4 kB / 0.7323 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1894, allocations: 3.984 kB / 0.7323 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.1897, allocations: 199.7 kB / 0.7325 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.1897, allocations: 7.891 kB / 0.7325 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1897, allocations: 3.984 kB / 0.7325 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1898, allocations: 15.98 kB / 0.7325 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.1899, allocations: 8 kB / 0.7325 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1899, allocations: 0 / 0.7325 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.1899, allocations: 87.27 kB / 0.7326 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1899, allocations: 3.938 kB / 0.7326 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002163/0.1902, allocations: 8 kB / 0.7326 GB, free: 12.52 MB / 0.5606 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.0006794/0.1908, allocations: 0.7319 MB / 0.7334 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.1912, allocations: 63.92 kB / 0.7334 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1912, allocations: 0 / 0.7334 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1913, allocations: 35.97 kB / 0.7334 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1917, allocations: 11.98 kB / 0.7335 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.1921, allocations: 147.1 kB / 0.7336 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1925, allocations: 0.6884 MB / 0.7343 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.08e-05/0.1925, allocations: 4 kB / 0.7343 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.1925, allocations: 19.44 kB / 0.7343 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1925, allocations: 0 / 0.7343 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.2202, allocations: 1.74 MB / 0.736 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.84, allocations: 14.61 kB / 0.736 GB, free: 9.117 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.81813273899752] Failed to read output from testmodel.py, exit status != 0: 10.94869300800201 10.965023 10.77700955 Calling exit ...