Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001417/0.001417, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001397/0.001397, allocations: 212.5 kB / 22.99 MB, free: 4.605 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.108/1.108, allocations: 149.9 MB / 463 MB, free: 10.38 MB / 366.1 MB " [Timeout remaining time 178] 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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold") [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.002099/0.002099, allocations: 70.2 kB / 0.6415 GB, free: 9.617 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2102, allocations: 89.18 MB / 0.7286 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002185/0.2123, allocations: 0.6821 MB / 0.7293 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.2135, allocations: 0.8548 MB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.2135, allocations: 0 / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.2135, allocations: 4 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.868e-05/0.2136, allocations: 7.875 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.2137, allocations: 23.91 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.483e-05/0.2138, allocations: 47.92 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2139, allocations: 15.97 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.214, allocations: 19.92 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.2141, allocations: 19.92 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.2141, allocations: 4 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.2141, allocations: 4 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.2141, allocations: 19.91 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.2141, allocations: 11.94 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.934e-05/0.2142, allocations: 47.8 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2142, allocations: 0 / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2142, allocations: 0 / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.2143, allocations: 4 kB / 0.7304 GB, free: 14.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005259/0.2148, allocations: 278.2 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2148, allocations: 15.97 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.2148, allocations: 0.9375 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.215, allocations: 122.4 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.215, allocations: 8.359 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.215, allocations: 384 / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.2152, allocations: 69.59 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2152, allocations: 3.938 kB / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2152, allocations: 7.984 kB / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2152, allocations: 0 / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.2154, allocations: 51.95 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.2158, allocations: 228.4 kB / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.216, allocations: 62.58 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2161, allocations: 32.88 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.2161, allocations: 4 kB / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.2162, allocations: 30.56 kB / 0.7312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2162, allocations: 0 / 0.7312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0004212/0.2166, allocations: 113.5 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.2166, allocations: 51.41 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2167, allocations: 109.8 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.2168, allocations: 25.7 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.2168, allocations: 84.14 kB / 0.7316 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.2168, allocations: 27.95 kB / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.2169, allocations: 13.72 kB / 0.7316 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2171, allocations: 322.8 kB / 0.7319 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.2172, allocations: 23.98 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.235e-05/0.2172, allocations: 23.97 kB / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.2174, allocations: 52.75 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2174, allocations: 3.938 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002582/0.2177, allocations: 85.66 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2177, allocations: 6.812 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2177, allocations: 0 / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2177, allocations: 4 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.2178, allocations: 7.984 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2178, allocations: 7.984 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.183e-05/0.2179, allocations: 7.938 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2179, allocations: 3.984 kB / 0.7322 GB, free: 12.71 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: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.218, allocations: 121.8 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.2181, allocations: 3.953 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.2181, allocations: 15.94 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2181, allocations: 3.938 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2181, allocations: 0 / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2181, allocations: 336 / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.2183, allocations: 113.2 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2183, allocations: 4 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.041e-05/0.2184, allocations: 7.984 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.2184, allocations: 4 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.2184, allocations: 11.98 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2184, allocations: 0 / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2184, allocations: 3.984 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.2187, allocations: 183.4 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.2187, allocations: 8 kB / 0.7326 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.2187, allocations: 0 / 0.7326 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.2188, allocations: 7.984 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.2189, allocations: 11.98 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.2189, allocations: 3.938 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.2189, allocations: 95.27 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2189, allocations: 0 / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002228/0.2192, allocations: 8 kB / 0.7327 GB, free: 12.05 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: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001248/0.2193, allocations: 91.25 kB / 0.7328 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.2195, allocations: 51.95 kB / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2195, allocations: 0 / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.2197, allocations: 35.91 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.22, allocations: 11.94 kB / 0.7329 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.2203, allocations: 133.5 kB / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.263e-05/0.2204, allocations: 67.34 kB / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.333e-05/0.2205, allocations: 4 kB / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.2205, allocations: 19.42 kB / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2205, allocations: 3.938 kB / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.003643/0.2241, allocations: 0.9509 MB / 0.7341 GB, free: 10.64 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.098701575770974] Failed to read output from testmodel.py, exit status != 0: 0.2325290273874998 0.246457786 0.029234915 Calling exit ...