Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.MultiSum,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",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.476/1.476, allocations: 287.4 MB / 302.6 MB, free: 8.219 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.0009341/0.0009344, allocations: 173.9 kB / 371.1 MB, free: 10.83 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.199/1.199, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0007419/0.0007419, allocations: 96.2 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003259, allocations: 11.62 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1599, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.0007232/0.1607, allocations: 0.5443 MB / 0.9793 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007233/0.1614, allocations: 0.8867 MB / 0.9801 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.1615, allocations: 0 / 0.9801 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.507e-05/0.1616, allocations: 3.938 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.116e-05/0.1617, allocations: 15.86 kB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.1618, allocations: 43.94 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.1619, allocations: 115.7 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.162, allocations: 37.11 kB / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.231e-05/0.1621, allocations: 47.83 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.042e-05/0.1622, allocations: 63.73 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1622, allocations: 4 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.1622, allocations: 8 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.1623, allocations: 27.89 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.1623, allocations: 41.64 kB / 0.9805 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.657e-05/0.1624, allocations: 95.98 kB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1624, allocations: 0 / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1624, allocations: 7.938 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.1624, allocations: 3.938 kB / 0.9806 GB, free: 26.14 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006106/0.163, allocations: 439 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.1631, allocations: 12.03 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.1631, allocations: 42.75 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.1631, allocations: 8.844 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1633, allocations: 200.7 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1633, allocations: 12.38 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.1633, allocations: 8.375 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.1637, allocations: 175.3 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1637, allocations: 0 / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1637, allocations: 4 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1637, allocations: 0 / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.1642, allocations: 191.8 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.1646, allocations: 424.3 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/0.1653, allocations: 182.5 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.1656, allocations: 104.9 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.1656, allocations: 4 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.006e-05/0.1656, allocations: 34.56 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1656, allocations: 0 / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0007827/0.1664, allocations: 329.2 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.711e-05/0.1665, allocations: 59.34 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.1665, allocations: 145.2 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1666, allocations: 29.7 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.1666, allocations: 112 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1666, allocations: 27.55 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.1666, allocations: 7.938 kB / 0.9831 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.548e-05/0.1667, allocations: 318.8 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.1669, allocations: 95.92 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.1671, allocations: 87.92 kB / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.1676, allocations: 188.7 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1676, allocations: 4 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004927/0.1681, allocations: 237.9 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.1681, allocations: 4 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.1681, allocations: 3.938 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.1681, allocations: 0 / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.1684, allocations: 43.95 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1684, allocations: 4 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1685, allocations: 36 kB / 0.9841 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1685, allocations: 7.938 kB / 0.9841 GB, free: 22.39 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.54e-05/0.1686, allocations: 123.1 kB / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.1686, allocations: 19.81 kB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.1687, allocations: 16.66 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1687, allocations: 4 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1687, allocations: 0 / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1687, allocations: 0 / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.1689, allocations: 237.5 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1689, allocations: 0 / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.1691, allocations: 43.95 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1691, allocations: 4 kB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1691, allocations: 3.938 kB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1691, allocations: 3.984 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1691, allocations: 3.984 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.1696, allocations: 335.2 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.1697, allocations: 88.92 kB / 0.9849 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.1697, allocations: 3.938 kB / 0.9849 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.1699, allocations: 35.97 kB / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.17, allocations: 27.95 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.17, allocations: 8 kB / 0.985 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.17, allocations: 111.2 kB / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.17, allocations: 0 / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001999/0.1702, allocations: 27.94 kB / 0.9851 GB, free: 21.23 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006906/0.1709, allocations: 0.8723 MB / 0.986 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005031/0.1714, allocations: 203.9 kB / 0.9862 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1715, allocations: 4 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.1717, allocations: 111.9 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.172, allocations: 19.98 kB / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.1733, allocations: 0.9078 MB / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.755e-05/0.1734, allocations: 0.7043 MB / 0.9879 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.1735, allocations: 20.44 kB / 0.9879 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.1736, allocations: 43.41 kB / 0.9879 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.1736, allocations: 0 / 0.9879 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.1851, allocations: 3.209 MB / 0.9911 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001263/0.1853, allocations: 198.6 kB / 0.9912 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/1.7, allocations: 0 / 0.9912 GB, free: 14.95 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)