Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.478/1.478, allocations: 287.4 MB / 302.6 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008356/0.0008356, allocations: 174.5 kB / 371.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.4 MB / 0.6298 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007563/0.0007561, allocations: 108.8 kB / 0.7431 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 15.8 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1665, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.0007904/0.1673, allocations: 489.6 kB / 0.9792 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008114/0.1682, allocations: 0.8477 MB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.1682, allocations: 0 / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.1683, allocations: 7.922 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.7e-05/0.1684, allocations: 7.922 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.1685, allocations: 35.97 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.046e-05/0.1686, allocations: 75.77 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.1687, allocations: 28.2 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.1687, allocations: 27.92 kB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.1688, allocations: 43.81 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1688, allocations: 8 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.1689, allocations: 7.938 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.1689, allocations: 7.984 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.1689, allocations: 33.64 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.566e-05/0.169, allocations: 64.12 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.169, allocations: 4 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.169, allocations: 0 / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.169, allocations: 0 / 0.9804 GB, free: 26.39 MB / 0.6198 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.000495/0.1695, allocations: 399.2 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1696, allocations: 8.031 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.1696, allocations: 34.75 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.1696, allocations: 12.75 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1697, allocations: 185.4 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1698, allocations: 4.375 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.1698, allocations: 4.375 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.1701, allocations: 118.2 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1701, allocations: 3.938 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1701, allocations: 3.938 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1701, allocations: 4 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.1704, allocations: 119.9 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.1709, allocations: 352.5 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.1714, allocations: 130.6 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.1716, allocations: 68.8 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.1716, allocations: 4 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.1716, allocations: 34.5 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.1717, allocations: 0 / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005745/0.1722, allocations: 213.5 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.1723, allocations: 59.34 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.1723, allocations: 131.2 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.1724, allocations: 25.7 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.1724, allocations: 96.12 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.1724, allocations: 19.7 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.1724, allocations: 4 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.243e-05/0.1725, allocations: 318.8 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.1726, allocations: 63.95 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1728, allocations: 51.95 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.1731, allocations: 124.7 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1731, allocations: 4 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003475/0.1735, allocations: 157.5 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1735, allocations: 9.562 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1735, allocations: 0 / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1735, allocations: 0 / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1737, allocations: 27.97 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1737, allocations: 0 / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1738, allocations: 23.92 kB / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1738, allocations: 7.984 kB / 0.9831 GB, free: 23.4 MB / 0.6198 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.1739, allocations: 127 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.1739, allocations: 7.906 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.1739, allocations: 12.38 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.174, allocations: 3.938 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.174, allocations: 0 / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.174, allocations: 0 / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.1741, allocations: 209.5 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1741, allocations: 0 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.1743, allocations: 31.97 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1743, allocations: 0 / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1743, allocations: 3.984 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1743, allocations: 4 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1743, allocations: 0 / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.1747, allocations: 271.2 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.1747, allocations: 85.02 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.1747, allocations: 0 / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1749, allocations: 15.98 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.175, allocations: 23.97 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.175, allocations: 0 / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.702e-05/0.175, allocations: 101.4 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.175, allocations: 4 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000196/0.1752, allocations: 15.94 kB / 0.984 GB, free: 22.42 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005502/0.1758, allocations: 0.7981 MB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.1761, allocations: 124.6 kB / 0.9849 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1761, allocations: 0 / 0.9849 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1763, allocations: 75.94 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.1766, allocations: 18.11 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1776, allocations: 0.6638 MB / 0.9856 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.348e-05/0.1777, allocations: 0.6926 MB / 0.9863 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.157e-05/0.1778, allocations: 12 kB / 0.9863 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.1779, allocations: 31.41 kB / 0.9863 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.1779, allocations: 0 / 0.9863 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.1889, allocations: 2.274 MB / 0.9885 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/0.1891, allocations: 197.7 kB / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/1.612, allocations: 0 / 0.9887 GB, free: 17.52 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)