Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.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.001371/0.001371, 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.00138/0.00138, 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.543/1.543, 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 0.9848/0.9848, allocations: 150 MB / 460.2 MB, free: 5.301 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.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",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.002029/0.002029, allocations: 68.98 kB / 0.6369 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2068, allocations: 89.14 MB / 0.7239 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Max): time 0.002674/0.2094, allocations: 0.6828 MB / 0.7246 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2109, allocations: 0.8319 MB / 0.7254 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.2109, allocations: 0 / 0.7254 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.211, allocations: 3.938 kB / 0.7254 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.705e-05/0.2111, allocations: 15.92 kB / 0.7254 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.2112, allocations: 11.98 kB / 0.7254 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.2113, allocations: 51.8 kB / 0.7255 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2114, allocations: 7.984 kB / 0.7255 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.809e-05/0.2115, allocations: 27.91 kB / 0.7255 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.2115, allocations: 15.92 kB / 0.7255 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.2116, allocations: 4 kB / 0.7255 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.2116, allocations: 4 kB / 0.7255 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.2116, allocations: 4 kB / 0.7255 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.2116, allocations: 23.86 kB / 0.7255 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.2118, allocations: 40.09 kB / 0.7256 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2118, allocations: 0 / 0.7256 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2118, allocations: 0 / 0.7256 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2118, allocations: 8 kB / 0.7256 GB, free: 2.285 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.0006743/0.2124, allocations: 359.3 kB / 0.7259 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.2125, allocations: 15.97 kB / 0.7259 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.355e-05/0.2125, allocations: 192 / 0.7259 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.2125, allocations: 34.75 kB / 0.726 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.2126, allocations: 4.938 kB / 0.726 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.2127, allocations: 176.2 kB / 0.7262 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.2128, allocations: 8.375 kB / 0.7262 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.2128, allocations: 384 / 0.7262 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.2131, allocations: 73.95 kB / 0.7262 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2131, allocations: 4 kB / 0.7262 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.2131, allocations: 0 / 0.7262 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2131, allocations: 0 / 0.7262 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.2134, allocations: 71.92 kB / 0.7263 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.2138, allocations: 264.9 kB / 0.7266 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.214, allocations: 54.53 kB / 0.7266 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.2142, allocations: 40.91 kB / 0.7266 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2142, allocations: 0 / 0.7266 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.2143, allocations: 38.55 kB / 0.7267 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2143, allocations: 0 / 0.7267 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005725/0.2149, allocations: 137.5 kB / 0.7268 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.2149, allocations: 59.33 kB / 0.7269 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.215, allocations: 101.9 kB / 0.727 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.215, allocations: 25.7 kB / 0.727 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.2151, allocations: 92.12 kB / 0.7271 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.2151, allocations: 7.906 kB / 0.7271 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.2152, allocations: 17.72 kB / 0.7271 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2153, allocations: 318.8 kB / 0.7274 GB, free: 192 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.2155, allocations: 35.97 kB / 0.7274 GB, free: 156 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.2156, allocations: 33.84 kB / 0.7275 GB, free: 124 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.2159, allocations: 64.8 kB / 0.7275 GB, free: 56 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2159, allocations: 4 kB / 0.7275 GB, free: 52 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003701/0.2163, allocations: 101.5 kB / 0.7276 GB, free: 15.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2163, allocations: 5.406 kB / 0.7276 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2163, allocations: 0 / 0.7276 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2163, allocations: 0 / 0.7276 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.2165, allocations: 15.98 kB / 0.7277 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2165, allocations: 0 / 0.7277 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.487e-05/0.2166, allocations: 15.98 kB / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.2166, 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.0001072/0.2167, allocations: 109.8 kB / 0.7278 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.2167, allocations: 11.94 kB / 0.7278 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.2171, allocations: 113.5 kB / 0.7279 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2171, allocations: 0 / 0.7279 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2171, allocations: 3.938 kB / 0.7279 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2171, allocations: 0 / 0.7279 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.2173, allocations: 173.5 kB / 0.7281 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2173, allocations: 0 / 0.7281 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.2174, allocations: 19.97 kB / 0.7281 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2174, allocations: 0 / 0.7281 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.2175, allocations: 0 / 0.7281 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2175, allocations: 0 / 0.7281 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2175, allocations: 4 kB / 0.7281 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.2179, allocations: 191.4 kB / 0.7283 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.2179, allocations: 85.06 kB / 0.7284 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.218, allocations: 7.922 kB / 0.7284 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.2181, allocations: 15.98 kB / 0.7284 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.2181, allocations: 4.359 kB / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.2181, allocations: 4 kB / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.819e-05/0.2182, allocations: 91.27 kB / 0.7285 GB, free: 14.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2182, allocations: 0 / 0.7285 GB, free: 14.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002154/0.2184, allocations: 8 kB / 0.7285 GB, free: 14.97 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.0007891/0.2192, allocations: 0.7296 MB / 0.7292 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.2195, allocations: 71.86 kB / 0.7293 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2195, allocations: 4 kB / 0.7293 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.2197, allocations: 31.97 kB / 0.7293 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.22, allocations: 14.36 kB / 0.7293 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.2206, allocations: 151.1 kB / 0.7295 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.2209, allocations: 0.6846 MB / 0.7301 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.221, allocations: 4 kB / 0.7301 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.221, allocations: 15.44 kB / 0.7301 GB, free: 13.18 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.221, allocations: 0 / 0.7301 GB, free: 13.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.2395, allocations: 1.662 MB / 0.7318 GB, free: 11.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.384/8.624, allocations: 22.16 kB / 0.7318 GB, free: 11.6 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.64643285801867] Failed to read output from testmodel.py, exit status != 0: 8.749948027019855 8.764678618 8.550036416 Calling exit ...