Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001415/0.001415, allocations: 109.1 kB / 17.12 MB, free: 5.926 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.001549/0.001549, allocations: 205 kB / 20.09 MB, free: 2.977 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.578/1.578, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9647/0.9647, allocations: 150 MB / 459.5 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: translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [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.002547/0.002547, allocations: 61.22 kB / 0.6366 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2141, allocations: 89.13 MB / 0.7236 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001738/0.2158, allocations: 0.6074 MB / 0.7242 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009872/0.2168, allocations: 0.8514 MB / 0.725 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.2169, allocations: 0 / 0.725 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.2169, allocations: 7.938 kB / 0.725 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.266e-05/0.2169, allocations: 3.938 kB / 0.725 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.2171, allocations: 15.97 kB / 0.7251 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.365e-05/0.2171, allocations: 23.92 kB / 0.7251 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.2172, allocations: 11.98 kB / 0.7251 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.2173, allocations: 11.94 kB / 0.7251 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.2173, allocations: 11.98 kB / 0.7251 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.2173, allocations: 7.938 kB / 0.7251 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.647e-06/0.2173, allocations: 0 / 0.7251 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.2174, allocations: 7.984 kB / 0.7251 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.2174, allocations: 15.92 kB / 0.7251 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.379e-05/0.2175, allocations: 19.91 kB / 0.7252 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2175, allocations: 0 / 0.7252 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2175, allocations: 0 / 0.7252 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2175, allocations: 0 / 0.7252 GB, free: 2.008 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004646/0.2179, allocations: 343.5 kB / 0.7255 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.218, allocations: 11.97 kB / 0.7255 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.218, allocations: 0.9375 kB / 0.7255 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2181, allocations: 172.3 kB / 0.7257 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.2181, allocations: 384 / 0.7257 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.2181, allocations: 4.312 kB / 0.7257 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.2183, allocations: 54.17 kB / 0.7257 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2183, allocations: 8.188 kB / 0.7257 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2183, allocations: 3.938 kB / 0.7257 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2183, allocations: 0 / 0.7257 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.2185, allocations: 35.95 kB / 0.7258 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.2189, allocations: 249 kB / 0.726 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.219, allocations: 46.44 kB / 0.726 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.2191, allocations: 30.78 kB / 0.7261 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.2191, allocations: 0 / 0.7261 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.2192, allocations: 30.56 kB / 0.7261 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2192, allocations: 0 / 0.7261 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003804/0.2196, allocations: 85.73 kB / 0.7262 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.2196, allocations: 55.41 kB / 0.7262 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.2197, allocations: 105.8 kB / 0.7263 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2197, allocations: 25.7 kB / 0.7264 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.2197, allocations: 84.12 kB / 0.7264 GB, free: 496 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.2198, allocations: 3.953 kB / 0.7264 GB, free: 492 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.2198, allocations: 17.72 kB / 0.7265 GB, free: 468 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.2199, allocations: 314.8 kB / 0.7268 GB, free: 144 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.22, allocations: 24.02 kB / 0.7268 GB, free: 120 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/0.2201, allocations: 11.98 kB / 0.7268 GB, free: 108 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.2203, allocations: 44.81 kB / 0.7268 GB, free: 60 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2203, allocations: 0 / 0.7268 GB, free: 60 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002314/0.2205, allocations: 73.73 kB / 0.7269 GB, free: 15.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2205, allocations: 8 kB / 0.7269 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2205, allocations: 0 / 0.7269 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2205, allocations: 0 / 0.7269 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.682e-05/0.2206, allocations: 11.92 kB / 0.7269 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2206, allocations: 4 kB / 0.7269 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.2207, allocations: 3.984 kB / 0.7269 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.2207, allocations: 8 kB / 0.7269 GB, free: 15.94 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.881e-05/0.2208, allocations: 117.8 kB / 0.7271 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.2208, allocations: 3.953 kB / 0.7271 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.399e-05/0.2208, allocations: 7.312 kB / 0.7271 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2208, allocations: 0 / 0.7271 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2208, allocations: 7.922 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2208, allocations: 0 / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.221, allocations: 169.5 kB / 0.7272 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.221, allocations: 0 / 0.7272 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.215e-05/0.2211, allocations: 11.98 kB / 0.7273 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2211, allocations: 0 / 0.7273 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.2211, allocations: 4 kB / 0.7273 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2211, allocations: 0 / 0.7273 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2211, allocations: 0 / 0.7273 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.2213, allocations: 171.4 kB / 0.7274 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.2214, allocations: 77.11 kB / 0.7275 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.2214, allocations: 0 / 0.7275 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.2215, allocations: 12.02 kB / 0.7275 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.2215, allocations: 11.98 kB / 0.7275 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.2215, allocations: 0 / 0.7275 GB, free: 15.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.2216, allocations: 83.28 kB / 0.7276 GB, free: 15.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2216, allocations: 0 / 0.7276 GB, free: 15.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002035/0.2218, allocations: 4 kB / 0.7276 GB, free: 15.18 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001056/0.2219, allocations: 91.25 kB / 0.7277 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.2221, allocations: 43.95 kB / 0.7277 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2221, allocations: 0 / 0.7277 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.2222, allocations: 27.91 kB / 0.7278 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.2225, allocations: 11.55 kB / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.2228, allocations: 105.4 kB / 0.7279 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.223, allocations: 0.6847 MB / 0.7285 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.382e-05/0.223, allocations: 0 / 0.7285 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.2231, allocations: 15.44 kB / 0.7285 GB, free: 14.15 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.2231, allocations: 0 / 0.7285 GB, free: 14.15 MB / 0.545 GB Notification: Performance of Templates: time 0.002695/0.2258, allocations: 0.5997 MB / 0.7291 GB, free: 13.56 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.996468267869204] Failed to read output from testmodel.py, exit status != 0: 0.2339200519490987 0.24686328699999996 0.026657891000000003 Calling exit ...