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.001754/0.001754, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.002311/0.002311, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.565/1.565, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.005/1.005, allocations: 150 MB / 460.2 MB, free: 5.285 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average",fmuType="cs",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.002792/0.002792, allocations: 66.28 kB / 0.6369 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1776, allocations: 89.13 MB / 0.7239 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Average): time 0.001933/0.1795, allocations: 0.6944 MB / 0.7246 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1806, allocations: 0.8319 MB / 0.7254 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.1806, allocations: 0 / 0.7254 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.1807, allocations: 3.938 kB / 0.7254 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.1807, allocations: 7.922 kB / 0.7254 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.14e-05/0.1808, allocations: 15.98 kB / 0.7254 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.276e-05/0.1809, allocations: 39.86 kB / 0.7255 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.181, allocations: 11.98 kB / 0.7255 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.1811, allocations: 23.86 kB / 0.7255 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.1811, allocations: 27.91 kB / 0.7255 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1812, allocations: 4 kB / 0.7255 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-06/0.1812, allocations: 0 / 0.7255 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.1812, allocations: 11.98 kB / 0.7255 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.1812, allocations: 15.88 kB / 0.7255 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.463e-05/0.1813, allocations: 40.09 kB / 0.7256 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1813, allocations: 0 / 0.7256 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1813, allocations: 0 / 0.7256 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.1813, allocations: 0 / 0.7256 GB, free: 2.289 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.0006054/0.1819, allocations: 377.1 kB / 0.7259 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.182, allocations: 8.031 kB / 0.726 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.326e-05/0.182, allocations: 192 / 0.726 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.182, allocations: 34.75 kB / 0.726 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.1821, allocations: 0.9375 kB / 0.726 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.1822, allocations: 172.3 kB / 0.7261 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1823, allocations: 8.359 kB / 0.7262 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1823, allocations: 4.375 kB / 0.7262 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.1826, allocations: 77.91 kB / 0.7262 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1826, allocations: 0 / 0.7262 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1826, allocations: 0 / 0.7262 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1826, allocations: 0 / 0.7262 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.1829, allocations: 63.92 kB / 0.7263 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.1833, allocations: 272.9 kB / 0.7266 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.1835, allocations: 54.48 kB / 0.7266 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.1837, allocations: 36.91 kB / 0.7266 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1837, allocations: 4 kB / 0.7266 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1837, allocations: 34.56 kB / 0.7267 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1837, allocations: 0 / 0.7267 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005767/0.1843, allocations: 129.5 kB / 0.7268 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1844, allocations: 59.34 kB / 0.7269 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1845, allocations: 113.8 kB / 0.727 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1845, allocations: 25.7 kB / 0.727 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.1845, allocations: 88.12 kB / 0.7271 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.1846, allocations: 7.906 kB / 0.7271 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.1846, allocations: 13.72 kB / 0.7271 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1848, allocations: 322.8 kB / 0.7274 GB, free: 196 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.1849, allocations: 35.97 kB / 0.7274 GB, free: 160 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1851, allocations: 27.97 kB / 0.7275 GB, free: 132 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.1853, allocations: 73.05 kB / 0.7275 GB, free: 56 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1853, allocations: 0 / 0.7275 GB, free: 56 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003639/0.1857, allocations: 101.6 kB / 0.7276 GB, free: 15.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1857, allocations: 7.938 kB / 0.7276 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1857, allocations: 3.984 kB / 0.7276 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1857, allocations: 0 / 0.7276 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1859, allocations: 15.98 kB / 0.7277 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1859, allocations: 0 / 0.7277 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.186, allocations: 11.98 kB / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.186, allocations: 4 kB / 0.7277 GB, free: 15.91 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 0.0001046/0.1861, allocations: 117.8 kB / 0.7278 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.1861, allocations: 3.953 kB / 0.7278 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.1861, allocations: 7.891 kB / 0.7278 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1861, allocations: 3.938 kB / 0.7278 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1861, allocations: 4 kB / 0.7278 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1861, allocations: 0 / 0.7278 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1863, allocations: 173.5 kB / 0.728 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1863, allocations: 0 / 0.728 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1864, allocations: 15.98 kB / 0.728 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1864, allocations: 0 / 0.728 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1864, allocations: 7.984 kB / 0.728 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1864, allocations: 0 / 0.728 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1864, allocations: 0 / 0.728 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.1868, allocations: 201.2 kB / 0.7282 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.1869, allocations: 81.06 kB / 0.7283 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.1869, allocations: 0 / 0.7283 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.187, allocations: 19.91 kB / 0.7283 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1871, allocations: 8 kB / 0.7283 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1871, allocations: 0 / 0.7283 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.1871, allocations: 87.27 kB / 0.7284 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1871, allocations: 0 / 0.7284 GB, free: 15.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002167/0.1874, allocations: 12 kB / 0.7284 GB, free: 15.08 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.0008371/0.1882, allocations: 0.7241 MB / 0.7291 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003638/0.1886, allocations: 75.91 kB / 0.7292 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1886, allocations: 0 / 0.7292 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.1887, allocations: 31.97 kB / 0.7292 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.189, allocations: 6.031 kB / 0.7292 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.1895, allocations: 167 kB / 0.7294 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1899, allocations: 0.6806 MB / 0.73 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.1899, allocations: 4 kB / 0.73 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.19, allocations: 15.42 kB / 0.73 GB, free: 13.29 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.19, allocations: 0 / 0.73 GB, free: 13.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.2115, allocations: 1.679 MB / 0.7317 GB, free: 11.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.46, allocations: 15.92 kB / 0.7317 GB, free: 11.73 MB / 0.545 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.54699545999756] Failed to read output from testmodel.py, exit status != 0: 8.584285222983453 8.600669886 8.416116852 Calling exit ...