Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 183.5 kB / 326.5 MB, free: 2.727 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205 MB / 0.5766 GB, free: 21.07 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008365/0.0008364, allocations: 85.36 kB / 0.6803 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003235, allocations: 9.375 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2213, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001491/0.2229, allocations: 1.213 MB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003862/0.2233, allocations: 185.9 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.2234, allocations: 0 / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.597e-05/0.2234, allocations: 7.938 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.197e-05/0.2235, allocations: 3.938 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.2237, allocations: 31.95 kB / 0.8982 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.395e-05/0.2238, allocations: 83.77 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.2239, allocations: 32.14 kB / 0.8983 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.71e-05/0.224, allocations: 39.84 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.2241, allocations: 39.83 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.2241, allocations: 4 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.2241, allocations: 4 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.2241, allocations: 19.91 kB / 0.8984 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.2242, allocations: 27.86 kB / 0.8984 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.819e-05/0.2243, allocations: 55.84 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2243, allocations: 0 / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2243, allocations: 3.938 kB / 0.8985 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2243, allocations: 0 / 0.8985 GB, free: 66.47 MB / 0.6042 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.0005217/0.2248, allocations: 387.3 kB / 0.8988 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2249, allocations: 15.97 kB / 0.8988 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.2249, allocations: 8.844 kB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.225, allocations: 180.2 kB / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2251, allocations: 4.375 kB / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2251, allocations: 12.38 kB / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.2254, allocations: 111.9 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2254, allocations: 192 / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2254, allocations: 3.938 kB / 0.8991 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2254, allocations: 0 / 0.8991 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.2258, allocations: 127.8 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.2262, allocations: 344.6 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.2268, allocations: 134.5 kB / 0.8997 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.2269, allocations: 60.81 kB / 0.8998 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.227, allocations: 8 kB / 0.8998 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.227, allocations: 42.48 kB / 0.8998 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.227, allocations: 0 / 0.8998 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006112/0.2276, allocations: 205.6 kB / 0.9 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.2277, allocations: 59.34 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.2277, allocations: 125.7 kB / 0.9002 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.2278, allocations: 25.7 kB / 0.9002 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.2278, allocations: 88.14 kB / 0.9003 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.2278, allocations: 23.7 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.2279, allocations: 13.72 kB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.2279, allocations: 322.8 kB / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.2281, allocations: 63.94 kB / 0.9007 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.2283, allocations: 55.95 kB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.2286, allocations: 125.2 kB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2286, allocations: 0 / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000361/0.229, allocations: 161.5 kB / 0.901 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.229, allocations: 4 kB / 0.901 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.229, allocations: 0 / 0.901 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.229, allocations: 0 / 0.901 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2292, allocations: 35.97 kB / 0.9011 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2292, allocations: 0 / 0.9011 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.2293, allocations: 31.83 kB / 0.9011 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.2293, allocations: 3.984 kB / 0.9011 GB, free: 63.52 MB / 0.6042 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,max1.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 7.601e-05/0.2294, allocations: 117.8 kB / 0.9012 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.2294, allocations: 11.89 kB / 0.9012 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.2299, allocations: 173.9 kB / 0.9014 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2299, allocations: 0 / 0.9014 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2299, allocations: 7.984 kB / 0.9014 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2299, allocations: 4 kB / 0.9014 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.2301, allocations: 193.6 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2301, allocations: 0 / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.2302, allocations: 31.97 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2303, allocations: 0 / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2303, allocations: 7.984 kB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2303, allocations: 0 / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2303, allocations: 0 / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.2307, allocations: 263.2 kB / 0.9019 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.2307, allocations: 81.11 kB / 0.902 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.2307, allocations: 0 / 0.902 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.2309, allocations: 19.98 kB / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.2309, allocations: 19.97 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.231, allocations: 3.984 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.491e-05/0.231, allocations: 99.72 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.231, allocations: 3.938 kB / 0.9021 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002093/0.2312, allocations: 23.83 kB / 0.9021 GB, free: 62.38 MB / 0.6042 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 (max1.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.0001054/0.2313, allocations: 99.19 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003768/0.2317, allocations: 131.8 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2317, allocations: 0 / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.2319, allocations: 79.88 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.2322, allocations: 5.734 kB / 0.9024 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.2326, allocations: 221.7 kB / 0.9026 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.2327, allocations: 0.6887 MB / 0.9033 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.2328, allocations: 11.44 kB / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.2328, allocations: 0 / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.002135/0.2349, allocations: 1.226 MB / 0.9045 GB, free: 59.86 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)