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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.33/1.33, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001127/0.001127, allocations: 178.3 kB / 325.8 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205 MB / 0.576 GB, free: 20.97 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.0006849/0.0006849, allocations: 92.81 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003114, allocations: 12.12 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1635, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001323/0.1649, allocations: 1.213 MB / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002979/0.1652, allocations: 189.1 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.1653, allocations: 3.938 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.1653, allocations: 3.938 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.428e-05/0.1654, allocations: 7.938 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.1655, allocations: 39.95 kB / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.921e-05/0.1656, allocations: 83.77 kB / 0.8977 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.144e-05/0.1657, allocations: 32.42 kB / 0.8977 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.102e-05/0.1658, allocations: 31.84 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.663e-05/0.1659, allocations: 39.83 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1659, allocations: 11.98 kB / 0.8978 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/0.1659, allocations: 4 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.1659, allocations: 11.92 kB / 0.8978 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.166, allocations: 31.8 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.165e-05/0.166, allocations: 83.7 kB / 0.898 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1661, allocations: 0 / 0.898 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1661, allocations: 0 / 0.898 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.1661, allocations: 0 / 0.898 GB, free: 66.24 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.0004716/0.1665, allocations: 383.3 kB / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1666, allocations: 12.03 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.1666, allocations: 38.73 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.1667, allocations: 12.78 kB / 0.8984 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.379e-05/0.1668, allocations: 185.4 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1668, allocations: 4.375 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1668, allocations: 4.375 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.1671, allocations: 118.2 kB / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1671, allocations: 7.938 kB / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1671, allocations: 4 kB / 0.8987 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1671, allocations: 0 / 0.8987 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.1674, allocations: 123.8 kB / 0.8988 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.1678, allocations: 349.5 kB / 0.8991 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.1684, allocations: 138.5 kB / 0.8993 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1686, allocations: 64.81 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1686, allocations: 0 / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.151e-05/0.1686, allocations: 38.55 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1686, allocations: 0 / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005771/0.1692, allocations: 213.5 kB / 0.8996 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.1692, allocations: 55.41 kB / 0.8996 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.269e-05/0.1693, allocations: 136.5 kB / 0.8998 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.1693, allocations: 25.7 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.1693, allocations: 92.05 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.1694, allocations: 23.73 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.1694, allocations: 17.72 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.895e-05/0.1694, allocations: 322.8 kB / 0.9002 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.1696, allocations: 63.89 kB / 0.9003 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.1698, allocations: 51.95 kB / 0.9003 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.1701, allocations: 116.8 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1701, allocations: 4 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003567/0.1704, allocations: 165.5 kB / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.1705, allocations: 8 kB / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1705, allocations: 0 / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.1705, allocations: 0 / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.1706, allocations: 31.91 kB / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1707, allocations: 0 / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1708, allocations: 27.83 kB / 0.9007 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1708, allocations: 11.98 kB / 0.9007 GB, free: 63.21 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 5.543e-05/0.1708, allocations: 117.8 kB / 0.9008 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.1709, allocations: 0 / 0.9008 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.1709, allocations: 16.38 kB / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1709, allocations: 0 / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1709, allocations: 0 / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.1709, allocations: 0 / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.1711, allocations: 205.5 kB / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1711, allocations: 4 kB / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.1712, allocations: 27.97 kB / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1712, allocations: 4 kB / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1712, allocations: 3.984 kB / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1712, allocations: 0 / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1713, allocations: 3.938 kB / 0.901 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.1716, allocations: 263.9 kB / 0.9013 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.1717, allocations: 92.94 kB / 0.9014 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1717, allocations: 0 / 0.9014 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1718, allocations: 19.98 kB / 0.9014 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.1719, allocations: 19.97 kB / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.1719, allocations: 0 / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.296e-05/0.1719, allocations: 99.27 kB / 0.9015 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1719, allocations: 0 / 0.9015 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000201/0.1722, allocations: 23.84 kB / 0.9015 GB, free: 62.24 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.0005251/0.1727, allocations: 0.7905 MB / 0.9023 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.1731, allocations: 127.9 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1731, allocations: 0 / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.1732, allocations: 83.86 kB / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.1735, allocations: 7.938 kB / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.1751, allocations: 1.629 MB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.1752, allocations: 0.6933 MB / 0.9048 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.794e-05/0.1753, allocations: 15.73 kB / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.1754, allocations: 31.42 kB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1754, allocations: 0 / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01044/0.1858, allocations: 2.306 MB / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001155/0.1859, allocations: 215.7 kB / 0.9073 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/1.721, allocations: 2.391 kB / 0.9073 GB, free: 56.31 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)