Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.028/2.028, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 183.5 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009305/0.0009307, allocations: 103.8 kB / 0.9329 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 52.52 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2283, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add): time 0.001725/0.2301, allocations: 0.8314 MB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006783/0.2307, allocations: 0.8546 MB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.2308, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.2309, allocations: 7.938 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.79e-05/0.2309, allocations: 11.92 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.2311, allocations: 39.95 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.2312, allocations: 83.77 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.2313, allocations: 20.25 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.91e-05/0.2313, allocations: 43.78 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.561e-05/0.2314, allocations: 43.83 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.2314, allocations: 7.984 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.2314, allocations: 4 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.2315, allocations: 23.91 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.2315, allocations: 35.73 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.306e-05/0.2316, allocations: 83.72 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2316, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2316, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.2316, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 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.0004847/0.2321, allocations: 401.3 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.2321, allocations: 15.98 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.2322, allocations: 8.844 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.864e-05/0.2323, allocations: 188.2 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.2323, allocations: 4.375 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.2323, allocations: 4.375 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.2326, allocations: 103 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2326, allocations: 8.125 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.2326, allocations: 7.938 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2326, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.2329, allocations: 99.89 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.2333, allocations: 348.5 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.2338, allocations: 122.5 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.234, allocations: 68.78 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.234, allocations: 0 / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.088e-05/0.2341, allocations: 34.55 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.2341, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0005557/0.2346, allocations: 185.4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.2347, allocations: 51.41 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.2347, allocations: 129.8 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.2347, allocations: 25.7 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.2348, allocations: 100 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.2348, allocations: 15.75 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.2348, allocations: 21.7 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.2349, allocations: 326.8 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.2351, allocations: 51.95 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.2353, allocations: 47.95 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.2356, allocations: 88.78 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2356, allocations: 4 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003484/0.2359, allocations: 145.4 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.236, allocations: 9.094 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.236, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.236, allocations: 3.938 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.2361, allocations: 27.97 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2362, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.2363, allocations: 15.98 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2363, allocations: 3.984 kB / 1.223 GB, free: 112.3 MB / 0.823 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,add1.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 5.772e-05/0.2363, allocations: 118.4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.2364, allocations: 7.906 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.2364, allocations: 8.375 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2364, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.2364, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2364, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.2366, allocations: 217.4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2366, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.2367, allocations: 27.91 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2367, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2367, allocations: 3.984 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2367, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2368, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/0.2374, allocations: 0.841 MB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.2374, allocations: 88.94 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.2374, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2376, allocations: 23.92 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.2376, allocations: 19.97 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.2377, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.226e-05/0.2377, allocations: 100.3 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2377, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002986/0.238, allocations: 12 kB / 1.224 GB, free: 110.7 MB / 0.823 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 (add1.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 7.724e-05/0.2381, allocations: 107.2 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003521/0.2384, allocations: 104.5 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2385, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.2386, allocations: 63.94 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.2389, allocations: 12.84 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.2393, allocations: 323.1 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.319e-05/0.2394, allocations: 0.6965 MB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.521e-05/0.2395, allocations: 12 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.2396, allocations: 15.42 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.2396, allocations: 0 / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of Templates: time 0.002768/0.2423, allocations: 1.426 MB / 1.227 GB, free: 107.9 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)