Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.00181/0.00181, allocations: 114.2 kB / 17.84 MB, free: 5.336 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.002194/0.002194, allocations: 207.1 kB / 20.8 MB, free: 2.391 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.506/1.506, allocations: 230.6 MB / 254.2 MB, free: 15.13 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.025/1.025, allocations: 150 MB / 460.2 MB, free: 5.34 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.Integers.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_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.002062/0.002062, allocations: 66.7 kB / 0.6368 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.2, allocations: 89.13 MB / 0.7239 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.002036/0.202, allocations: 0.7601 MB / 0.7246 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2032, allocations: 0.8995 MB / 0.7255 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.2032, allocations: 4 kB / 0.7255 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.2033, allocations: 3.938 kB / 0.7255 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.096e-05/0.2034, allocations: 15.84 kB / 0.7255 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.2035, allocations: 39.95 kB / 0.7255 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.2037, allocations: 83.83 kB / 0.7256 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2038, allocations: 27.89 kB / 0.7256 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.2039, allocations: 35.92 kB / 0.7257 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.433e-05/0.204, allocations: 47.81 kB / 0.7257 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.204, allocations: 8 kB / 0.7257 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.798e-05/0.204, allocations: 8 kB / 0.7257 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.2041, allocations: 31.84 kB / 0.7258 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.2041, allocations: 39.73 kB / 0.7258 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.2043, allocations: 87.92 kB / 0.7259 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2043, allocations: 0 / 0.7259 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2043, allocations: 0 / 0.7259 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.2043, allocations: 0 / 0.7259 GB, free: 1.992 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007509/0.2051, allocations: 399.1 kB / 0.7263 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2051, allocations: 12.02 kB / 0.7263 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.527e-05/0.2051, allocations: 4.188 kB / 0.7263 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.2052, allocations: 34.75 kB / 0.7263 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.2052, allocations: 8.891 kB / 0.7263 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.2054, allocations: 172.3 kB / 0.7265 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.2054, allocations: 16.3 kB / 0.7265 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.2054, allocations: 7.938 kB / 0.7265 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.2058, allocations: 105.6 kB / 0.7266 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2058, allocations: 0 / 0.7266 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.2058, allocations: 4 kB / 0.7266 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.2058, allocations: 0 / 0.7266 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.2062, allocations: 91.91 kB / 0.7267 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.2068, allocations: 352.6 kB / 0.727 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006881/0.2075, allocations: 114.6 kB / 0.7272 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.2077, allocations: 52.81 kB / 0.7272 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.2077, allocations: 8 kB / 0.7272 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.2078, allocations: 34.5 kB / 0.7272 GB, free: 440 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 3.136e-06/0.2078, allocations: 3.984 kB / 0.7272 GB, free: 436 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007391/0.2085, allocations: 185.5 kB / 0.7274 GB, free: 244 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.2086, allocations: 55.34 kB / 0.7275 GB, free: 176 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2087, allocations: 120.4 kB / 0.7276 GB, free: 48 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.2087, allocations: 25.7 kB / 0.7276 GB, free: 16 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.127e-05/0.2088, allocations: 100.1 kB / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.2088, allocations: 15.8 kB / 0.7277 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.2089, allocations: 25.7 kB / 0.7277 GB, free: 15.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.209, allocations: 322.8 kB / 0.7281 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.2092, allocations: 51.94 kB / 0.7281 GB, free: 15.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.2094, allocations: 51.89 kB / 0.7282 GB, free: 15.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.2098, allocations: 96.77 kB / 0.7282 GB, free: 15.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2098, allocations: 4 kB / 0.7283 GB, free: 15.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004613/0.2103, allocations: 129.6 kB / 0.7284 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2103, allocations: 4 kB / 0.7284 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2103, allocations: 0.5469 kB / 0.7284 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2103, allocations: 0 / 0.7284 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.2105, allocations: 27.91 kB / 0.7284 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.2105, allocations: 11.94 kB / 0.7284 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.2106, allocations: 19.86 kB / 0.7284 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2106, allocations: 11.94 kB / 0.7284 GB, free: 15.13 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001329/0.2108, allocations: 113.8 kB / 0.7286 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.2108, allocations: 7.953 kB / 0.7286 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.2114, allocations: 157.9 kB / 0.7287 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2114, allocations: 0 / 0.7287 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2114, allocations: 3.938 kB / 0.7287 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2114, allocations: 4 kB / 0.7287 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.2116, allocations: 193.6 kB / 0.7289 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2116, allocations: 0 / 0.7289 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.2118, allocations: 27.91 kB / 0.7289 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2118, allocations: 0 / 0.7289 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2118, allocations: 4 kB / 0.7289 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2118, allocations: 4 kB / 0.7289 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.2118, allocations: 3.938 kB / 0.7289 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.2124, allocations: 231.4 kB / 0.7292 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.2124, allocations: 85 kB / 0.7292 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.2124, allocations: 8 kB / 0.7293 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.2126, allocations: 11.97 kB / 0.7293 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.062e-05/0.2127, allocations: 23.92 kB / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2127, allocations: 4 kB / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.099e-05/0.2128, allocations: 95.27 kB / 0.7294 GB, free: 14.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2128, allocations: 0 / 0.7294 GB, free: 14.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002366/0.213, allocations: 12 kB / 0.7294 GB, free: 14.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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0009459/0.214, allocations: 0.7748 MB / 0.7302 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004905/0.2144, allocations: 103.9 kB / 0.7303 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2144, allocations: 3.938 kB / 0.7303 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.2147, allocations: 59.94 kB / 0.7303 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.215, allocations: 17.66 kB / 0.7303 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.2175, allocations: 1.537 MB / 0.7318 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.218, allocations: 0.6885 MB / 0.7325 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.448e-05/0.218, allocations: 12 kB / 0.7325 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.797e-05/0.2181, allocations: 31.61 kB / 0.7325 GB, free: 10.7 MB / 0.545 GB Notification: Performance of SimCode: time 4.7e-07/0.2181, allocations: 0 / 0.7325 GB, free: 10.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.2391, allocations: 2.748 MB / 0.7352 GB, free: 8.078 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/8.567, allocations: 19.03 kB / 0.7352 GB, free: 8.062 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.609607175982092] Failed to read output from testmodel.py, exit status != 0: 8.693775182997342 8.70832315 8.501188946 Calling exit ...