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.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, 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.001113/0.001113, allocations: 171.3 kB / 326.5 MB, free: 2.703 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.079/2.079, allocations: 205 MB / 0.5766 GB, free: 20.96 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.00106/0.00106, allocations: 83.94 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 13.12 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2153, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001492/0.2168, allocations: 1.217 MB / 0.8979 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003437/0.2172, allocations: 185.9 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.2173, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.591e-05/0.2173, allocations: 4 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.576e-05/0.2174, allocations: 11.88 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.2175, allocations: 31.95 kB / 0.8982 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.232e-05/0.2176, allocations: 79.83 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2177, allocations: 28.44 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.746e-05/0.2178, allocations: 47.77 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.2179, allocations: 39.83 kB / 0.8983 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.2179, allocations: 4 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.2179, allocations: 7.938 kB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.218, allocations: 19.91 kB / 0.8984 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.218, allocations: 27.8 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.224e-05/0.2181, allocations: 59.84 kB / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2181, allocations: 0 / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2181, allocations: 0 / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2181, allocations: 0 / 0.8985 GB, free: 66.41 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.0004887/0.2186, allocations: 399.3 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2186, allocations: 8.031 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.2187, allocations: 8.844 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.54e-05/0.2188, allocations: 184.2 kB / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2188, allocations: 384 / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.2188, allocations: 12.38 kB / 0.899 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.2191, allocations: 111.9 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.2191, allocations: 192 / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2191, allocations: 7.938 kB / 0.8992 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2191, allocations: 0 / 0.8992 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.2195, allocations: 123.9 kB / 0.8993 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.2199, allocations: 356.5 kB / 0.8996 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/0.2205, allocations: 130.6 kB / 0.8997 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.2207, allocations: 68.81 kB / 0.8998 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.2207, allocations: 0 / 0.8998 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.2207, allocations: 42.44 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2207, allocations: 0 / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006134/0.2214, allocations: 209.5 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.2214, allocations: 63.39 kB / 0.9001 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.2215, allocations: 120.5 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.2215, allocations: 25.7 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.2215, allocations: 100 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.2216, allocations: 23.73 kB / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.2216, allocations: 13.7 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.2217, allocations: 322.8 kB / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.2218, allocations: 55.95 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.222, allocations: 59.95 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.2223, allocations: 125.2 kB / 0.9009 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2223, allocations: 0 / 0.9009 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003683/0.2227, allocations: 161.5 kB / 0.9011 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2227, allocations: 4 kB / 0.9011 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2228, allocations: 7.984 kB / 0.9011 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2228, allocations: 0 / 0.9011 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.2229, allocations: 31.97 kB / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2229, allocations: 0 / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2231, allocations: 23.92 kB / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.2231, allocations: 8 kB / 0.9011 GB, free: 63.43 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,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 6.926e-05/0.2232, allocations: 121.7 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.2232, allocations: 3.906 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.2232, allocations: 16.36 kB / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2232, allocations: 0 / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2232, allocations: 0 / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2232, allocations: 4 kB / 0.9013 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.2234, allocations: 213.4 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2234, allocations: 0 / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.2236, allocations: 27.97 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2236, allocations: 4 kB / 0.9015 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.2236, allocations: 3.938 kB / 0.9015 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2236, allocations: 0 / 0.9015 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2236, allocations: 0 / 0.9015 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.224, allocations: 267.3 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.224, allocations: 85.02 kB / 0.9019 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.2241, allocations: 0 / 0.9019 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.2242, allocations: 19.97 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.2243, allocations: 23.97 kB / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.2243, allocations: 0 / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.2243, allocations: 103.4 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2243, allocations: 0 / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002127/0.2246, allocations: 19.94 kB / 0.902 GB, free: 62.45 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 (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 0.0001027/0.2247, allocations: 99.19 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.2251, allocations: 135.8 kB / 0.9022 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2251, allocations: 0 / 0.9022 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.2253, allocations: 67.95 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.2255, allocations: 11.91 kB / 0.9023 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.2259, allocations: 225.6 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.2261, allocations: 0.6926 MB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.2261, allocations: 15.42 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2261, allocations: 0 / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.002272/0.2284, allocations: 1.264 MB / 0.9045 GB, free: 59.89 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)