Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.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.001413/0.001413, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001372/0.001372, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.518/1.518, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.9864/0.9864, allocations: 150 MB / 460.2 MB, free: 5.289 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.Min,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min",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.001954/0.001954, allocations: 69.08 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2045, allocations: 89.14 MB / 0.7239 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Min): time 0.002348/0.2068, allocations: 0.7562 MB / 0.7246 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2081, allocations: 0.9034 MB / 0.7255 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.2082, allocations: 0 / 0.7255 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.2082, allocations: 11.92 kB / 0.7255 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2083, allocations: 7.875 kB / 0.7255 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.2085, allocations: 43.94 kB / 0.7255 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.2087, allocations: 79.83 kB / 0.7256 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.2088, allocations: 31.89 kB / 0.7256 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.136e-05/0.2089, allocations: 31.92 kB / 0.7257 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.209, allocations: 55.81 kB / 0.7257 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.209, allocations: 8 kB / 0.7257 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.773e-05/0.2091, allocations: 8 kB / 0.7257 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.2091, allocations: 27.84 kB / 0.7258 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.2092, allocations: 31.8 kB / 0.7258 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.2093, allocations: 83.94 kB / 0.7259 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.2093, allocations: 0 / 0.7259 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.278e-06/0.2093, allocations: 4 kB / 0.7259 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2093, allocations: 0 / 0.7259 GB, free: 1.953 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.0008024/0.2101, allocations: 403.1 kB / 0.7263 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.2102, allocations: 8.031 kB / 0.7263 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.063e-05/0.2102, allocations: 192 / 0.7263 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.2103, allocations: 38.75 kB / 0.7263 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.2103, allocations: 8.891 kB / 0.7263 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.2105, allocations: 180.2 kB / 0.7265 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.2105, allocations: 12.31 kB / 0.7265 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.2105, allocations: 11.88 kB / 0.7265 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.2109, allocations: 101.6 kB / 0.7266 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2109, allocations: 0 / 0.7266 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.2109, allocations: 8 kB / 0.7266 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2109, allocations: 0 / 0.7266 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.2113, allocations: 91.91 kB / 0.7267 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006355/0.2119, allocations: 348.6 kB / 0.727 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.2126, allocations: 118.6 kB / 0.7271 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.2128, allocations: 56.81 kB / 0.7272 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.2128, allocations: 3.984 kB / 0.7272 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.2129, allocations: 46.48 kB / 0.7273 GB, free: 380 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.2129, allocations: 0 / 0.7273 GB, free: 380 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007518/0.2136, allocations: 181.5 kB / 0.7274 GB, free: 192 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.2137, allocations: 59.34 kB / 0.7275 GB, free: 120 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2139, allocations: 125.1 kB / 0.7276 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2139, allocations: 25.7 kB / 0.7276 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.214, allocations: 92.09 kB / 0.7277 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.214, allocations: 19.8 kB / 0.7277 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.214, allocations: 25.7 kB / 0.7278 GB, free: 15.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2142, allocations: 318.8 kB / 0.7281 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.2144, allocations: 47.95 kB / 0.7281 GB, free: 15.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.2146, allocations: 47.89 kB / 0.7282 GB, free: 15.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.215, allocations: 104.8 kB / 0.7283 GB, free: 15.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.215, allocations: 0 / 0.7283 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004409/0.2155, allocations: 129.6 kB / 0.7284 GB, free: 15.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2155, allocations: 8 kB / 0.7284 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2155, allocations: 0 / 0.7284 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.2155, allocations: 0 / 0.7284 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.2157, allocations: 27.91 kB / 0.7284 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2157, allocations: 3.938 kB / 0.7284 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.2158, allocations: 23.92 kB / 0.7284 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.2158, allocations: 11.94 kB / 0.7284 GB, free: 15.09 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,min1.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.0001118/0.2159, allocations: 113.8 kB / 0.7286 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.216, allocations: 3.953 kB / 0.7286 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005203/0.2165, allocations: 153.9 kB / 0.7287 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2165, allocations: 0 / 0.7287 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.2165, allocations: 3.938 kB / 0.7287 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2165, allocations: 0 / 0.7287 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.2168, allocations: 201.6 kB / 0.7289 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2168, allocations: 0 / 0.7289 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.2169, allocations: 27.91 kB / 0.7289 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2169, allocations: 0 / 0.7289 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.217, allocations: 3.938 kB / 0.7289 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.217, allocations: 0 / 0.7289 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.217, allocations: 11.94 kB / 0.7289 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.2175, allocations: 232 kB / 0.7292 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.2175, allocations: 85 kB / 0.7292 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.2175, allocations: 0 / 0.7292 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.2177, allocations: 19.97 kB / 0.7293 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.2178, allocations: 23.92 kB / 0.7293 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.2178, allocations: 3.984 kB / 0.7293 GB, free: 14.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.745e-05/0.2179, allocations: 95.28 kB / 0.7294 GB, free: 14.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2179, allocations: 0 / 0.7294 GB, free: 14.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000237/0.2181, allocations: 12 kB / 0.7294 GB, free: 14.01 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 (min1.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.0009329/0.219, allocations: 0.7827 MB / 0.7302 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.2195, allocations: 99.91 kB / 0.7303 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2195, allocations: 7.938 kB / 0.7303 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.2197, allocations: 59.94 kB / 0.7303 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.2201, allocations: 11.94 kB / 0.7303 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.2225, allocations: 1.537 MB / 0.7318 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2228, allocations: 0.6885 MB / 0.7325 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.436e-05/0.2229, allocations: 12 kB / 0.7325 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.175e-05/0.223, allocations: 31.41 kB / 0.7325 GB, free: 10.65 MB / 0.545 GB Notification: Performance of SimCode: time 5.52e-07/0.223, allocations: 4 kB / 0.7325 GB, free: 10.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.2432, allocations: 2.734 MB / 0.7352 GB, free: 8.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/8.605, allocations: 23.12 kB / 0.7352 GB, free: 8 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.642713820037898] Failed to read output from testmodel.py, exit status != 0: 8.755535122996662 8.771425479 8.559117935 Calling exit ...