Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001491/0.001491, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001732/0.001732, allocations: 217.3 kB / 23 MB, free: 4.969 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.015/1.015, allocations: 149.9 MB / 463 MB, free: 10.34 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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [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.002177/0.002177, allocations: 69.06 kB / 0.6416 GB, free: 9.586 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2202, allocations: 89.17 MB / 0.7286 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002045/0.2223, allocations: 0.6809 MB / 0.7293 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.2236, allocations: 0.8626 MB / 0.7301 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.2237, allocations: 0 / 0.7301 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.2237, allocations: 3.938 kB / 0.7301 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.324e-05/0.2238, allocations: 3.938 kB / 0.7301 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.2239, allocations: 23.92 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.642e-05/0.224, allocations: 47.91 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2242, allocations: 11.98 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.648e-05/0.2242, allocations: 19.92 kB / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.964e-05/0.2243, allocations: 23.91 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.2243, allocations: 4 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.2243, allocations: 4 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.2244, allocations: 11.94 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.2244, allocations: 15.92 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.2245, allocations: 51.78 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2245, allocations: 4 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2245, allocations: 4 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2245, allocations: 3.938 kB / 0.7304 GB, free: 14.71 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.0005623/0.2251, allocations: 278.2 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2251, allocations: 8.031 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.2252, allocations: 8.922 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2253, allocations: 118.4 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2253, allocations: 4.375 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.2253, allocations: 4.375 kB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.2255, allocations: 73.58 kB / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2256, allocations: 0 / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2256, allocations: 4 kB / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2256, allocations: 0 / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.2258, allocations: 51.94 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.2262, allocations: 228.4 kB / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.2264, allocations: 66.47 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.2265, allocations: 32.92 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.2266, allocations: 0 / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.2266, allocations: 38.55 kB / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2266, allocations: 0 / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0004332/0.227, allocations: 113.5 kB / 0.7313 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.2271, allocations: 51.41 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.2272, allocations: 105.8 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.2272, allocations: 25.7 kB / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.2273, allocations: 92.14 kB / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.2273, allocations: 7.906 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.2273, allocations: 21.7 kB / 0.7316 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2275, allocations: 322.8 kB / 0.7319 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.2276, allocations: 23.97 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.2277, allocations: 19.98 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.2279, allocations: 48.81 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2279, allocations: 8 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002317/0.2281, allocations: 85.58 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2281, allocations: 8 kB / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2281, allocations: 0 / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.2282, allocations: 3.938 kB / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2283, allocations: 11.98 kB / 0.7321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2283, allocations: 320 / 0.7321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.446e-05/0.2284, allocations: 11.92 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.2284, allocations: 4 kB / 0.7322 GB, free: 12.69 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,intGreThr.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.0001045/0.2285, allocations: 118.1 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.2285, allocations: 7.953 kB / 0.7323 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.2286, allocations: 11.97 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2286, allocations: 0 / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2286, allocations: 0 / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.2286, allocations: 4 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.2287, allocations: 121.3 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2287, allocations: 0 / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-05/0.2288, allocations: 15.92 kB / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2288, allocations: 4 kB / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.2288, allocations: 0 / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.2288, allocations: 7.984 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2288, allocations: 0 / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.2291, allocations: 187.4 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.2292, allocations: 0 / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.2292, allocations: 7.984 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-05/0.2293, allocations: 8 kB / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.2293, allocations: 15.92 kB / 0.7327 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.2294, allocations: 7.984 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.2294, allocations: 79.28 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2294, allocations: 0 / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000219/0.2296, allocations: 12 kB / 0.7327 GB, free: 12.03 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 (intGreThr.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.0001235/0.2298, allocations: 99.19 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000272/0.23, allocations: 51.94 kB / 0.7329 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.23, allocations: 0 / 0.7329 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.2301, allocations: 39.97 kB / 0.7329 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.2305, allocations: 3.938 kB / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.2309, allocations: 137.4 kB / 0.7331 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.023e-05/0.2309, allocations: 63.34 kB / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.399e-05/0.231, allocations: 11.94 kB / 0.7331 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.231, allocations: 15.44 kB / 0.7331 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.231, allocations: 0 / 0.7331 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.003768/0.2348, allocations: 0.9619 MB / 0.7341 GB, free: 10.62 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.973791873082519] Failed to read output from testmodel.py, exit status != 0: 0.24538292363286018 0.27370858 0.043993045 Calling exit ...