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.001504/0.001504, allocations: 109 kB / 20.48 MB, free: 1.473 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.001513/0.001513, allocations: 208.4 kB / 23.79 MB, free: 4.684 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.497/1.497, allocations: 230.6 MB / 257.6 MB, free: 8 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.01/1.01, allocations: 150 MB / 464 MB, free: 10.52 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="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.002303/0.002303, allocations: 71.02 kB / 0.6421 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2008, allocations: 89.17 MB / 0.7292 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Average): time 0.001961/0.2027, allocations: 0.6979 MB / 0.7298 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.2038, allocations: 0.8238 MB / 0.7307 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.2039, allocations: 4 kB / 0.7307 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.2039, allocations: 7.938 kB / 0.7307 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.204, allocations: 3.938 kB / 0.7307 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.146e-05/0.204, allocations: 11.98 kB / 0.7307 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.221e-05/0.2041, allocations: 51.78 kB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.2042, allocations: 4 kB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.2043, allocations: 19.97 kB / 0.7307 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.863e-05/0.2043, allocations: 23.86 kB / 0.7308 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.2044, allocations: 4 kB / 0.7308 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-06/0.2044, allocations: 4 kB / 0.7308 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.2044, allocations: 11.98 kB / 0.7308 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.2044, allocations: 11.94 kB / 0.7308 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.948e-05/0.2045, allocations: 52.02 kB / 0.7309 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2045, allocations: 0 / 0.7309 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2045, allocations: 4 kB / 0.7309 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.2045, allocations: 0 / 0.7309 GB, free: 15.53 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.0005254/0.2051, allocations: 286.2 kB / 0.7311 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2051, allocations: 11.97 kB / 0.7311 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.521e-05/0.2051, allocations: 4.188 kB / 0.7311 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.2052, allocations: 42.69 kB / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.163e-05/0.2052, allocations: 0.9375 kB / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.2053, allocations: 122.4 kB / 0.7313 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.2053, allocations: 384 / 0.7313 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.2053, allocations: 4.375 kB / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.2056, allocations: 69.97 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.2056, allocations: 0 / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.2056, allocations: 4 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2056, allocations: 0 / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.2059, allocations: 63.92 kB / 0.7314 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.2062, allocations: 243.9 kB / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.2064, allocations: 50.55 kB / 0.7317 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.2066, allocations: 44.91 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.2066, allocations: 3.984 kB / 0.7318 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2066, allocations: 30.56 kB / 0.7318 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2066, allocations: 0 / 0.7318 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005552/0.2072, allocations: 133.5 kB / 0.7319 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.2072, allocations: 55.39 kB / 0.732 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2073, allocations: 105.9 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2073, allocations: 25.7 kB / 0.7321 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.2074, allocations: 88.12 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.2074, allocations: 11.95 kB / 0.7322 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.2074, allocations: 13.72 kB / 0.7322 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2076, allocations: 326.7 kB / 0.7325 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2077, allocations: 27.97 kB / 0.7325 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.2079, allocations: 27.97 kB / 0.7326 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.2081, allocations: 76.72 kB / 0.7326 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2081, allocations: 0 / 0.7326 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003226/0.2085, allocations: 97.58 kB / 0.7327 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2085, allocations: 4 kB / 0.7327 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2085, allocations: 7.984 kB / 0.7328 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2085, allocations: 4 kB / 0.7328 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2086, allocations: 11.98 kB / 0.7328 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2086, allocations: 0 / 0.7328 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/0.2087, allocations: 19.98 kB / 0.7328 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2087, allocations: 0 / 0.7328 GB, free: 13.36 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.424e-05/0.2088, allocations: 113.8 kB / 0.7329 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.2088, allocations: 7.953 kB / 0.7329 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.2089, allocations: 15.98 kB / 0.7329 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2089, allocations: 0 / 0.7329 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2089, allocations: 3.938 kB / 0.7329 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2089, allocations: 0 / 0.7329 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.209, allocations: 140.7 kB / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.209, allocations: 0 / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.674e-05/0.2091, allocations: 19.92 kB / 0.7331 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2091, allocations: 0 / 0.7331 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.2091, allocations: 3.984 kB / 0.7331 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2091, allocations: 4 kB / 0.7331 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2091, allocations: 0 / 0.7331 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.2095, allocations: 191.4 kB / 0.7333 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.2095, allocations: 11.89 kB / 0.7333 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.2095, allocations: 0 / 0.7333 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2096, allocations: 15.98 kB / 0.7333 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.2097, allocations: 3.984 kB / 0.7333 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.2097, allocations: 384 / 0.7333 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.367e-05/0.2097, allocations: 91.27 kB / 0.7334 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2097, allocations: 0 / 0.7334 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002151/0.2099, allocations: 4 kB / 0.7334 GB, free: 12.66 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.0006931/0.2106, allocations: 0.7396 MB / 0.7341 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.211, allocations: 75.86 kB / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.211, allocations: 0 / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.2111, allocations: 39.91 kB / 0.7342 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.2115, allocations: 4 kB / 0.7342 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.2119, allocations: 155.1 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.2122, allocations: 0.6846 MB / 0.735 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.2123, allocations: 0 / 0.735 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.2123, allocations: 19.42 kB / 0.7351 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.2123, allocations: 0 / 0.7351 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.235, allocations: 1.769 MB / 0.7368 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.39, allocations: 7.031 kB / 0.7368 GB, free: 9.242 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.372744817985222] Failed to read output from testmodel.py, exit status != 0: 11.545019481971394 11.560460534 11.352666783 Calling exit ...