Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.488/1.488, allocations: 288.4 MB / 303.6 MB, free: 8.043 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.0008792/0.0008793, allocations: 184.5 kB / 372.3 MB, free: 10.11 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.223/1.223, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0006997/0.0006998, allocations: 102.2 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 12.75 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1658, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.0007349/0.1666, allocations: 374.1 kB / 0.9805 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007636/0.1674, allocations: 0.8282 MB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.1675, allocations: 0 / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.804e-05/0.1675, allocations: 0 / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.734e-05/0.1676, allocations: 7.922 kB / 0.9814 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.1677, allocations: 12 kB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.981e-05/0.1678, allocations: 27.92 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.1679, allocations: 15.97 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.1679, allocations: 7.938 kB / 0.9814 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.168, allocations: 15.92 kB / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.168, allocations: 4 kB / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.168, allocations: 0 / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.1681, allocations: 11.98 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.1681, allocations: 45.58 kB / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.643e-05/0.1682, allocations: 27.92 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1682, allocations: 0 / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1682, allocations: 0 / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.1682, allocations: 0 / 0.9815 GB, free: 25.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003846/0.1686, allocations: 347.7 kB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1686, allocations: 8.031 kB / 0.9819 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.1687, allocations: 42.73 kB / 0.9819 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.1687, allocations: 4.938 kB / 0.9819 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1688, allocations: 172.3 kB / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.1689, allocations: 4.375 kB / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.1689, allocations: 4.375 kB / 0.9821 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1691, allocations: 66.17 kB / 0.9821 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1691, allocations: 3.938 kB / 0.9821 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1691, allocations: 7.984 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1691, allocations: 4 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.1693, allocations: 55.94 kB / 0.9822 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.1696, allocations: 280.7 kB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.1698, allocations: 50.48 kB / 0.9825 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1699, allocations: 28.91 kB / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.1699, allocations: 4 kB / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.399e-05/0.17, allocations: 30.56 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.17, allocations: 4 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003524/0.1703, allocations: 101.7 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.65e-05/0.1703, allocations: 59.33 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.237e-05/0.1704, allocations: 101.8 kB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.1704, allocations: 29.7 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.188e-05/0.1704, allocations: 92.11 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.1705, allocations: 3.984 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.1705, allocations: 0 / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.1705, allocations: 330.8 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/0.1706, allocations: 15.98 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.1707, allocations: 27.97 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1708, allocations: 52.89 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1708, allocations: 0 / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001735/0.171, allocations: 89.5 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.171, allocations: 13.7 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.171, allocations: 0 / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.171, allocations: 0 / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.548e-05/0.1711, allocations: 8.25 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1711, allocations: 3.984 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.1712, allocations: 12 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1712, allocations: 4.031 kB / 0.9835 GB, free: 23.59 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.97e-05/0.1713, allocations: 125.8 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.1713, allocations: 0 / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.467e-05/0.1713, allocations: 3.125 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1713, allocations: 0 / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1713, allocations: 0 / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1713, allocations: 4 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.1715, allocations: 169.6 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1715, allocations: 0 / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-05/0.1715, allocations: 15.98 kB / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1715, allocations: 0 / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.1716, allocations: 3.938 kB / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1716, allocations: 0 / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1716, allocations: 0 / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.1718, allocations: 183.4 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.1718, allocations: 81.02 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.1718, allocations: 7.984 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.1719, allocations: 4 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1719, allocations: 7.984 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.1719, allocations: 4.031 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.94e-05/0.172, allocations: 83.28 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.172, allocations: 0 / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001982/0.1722, allocations: 4 kB / 0.9842 GB, free: 22.82 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003574/0.1725, allocations: 0.7133 MB / 0.9849 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1727, allocations: 59.92 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1727, allocations: 0 / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/0.1728, allocations: 27.98 kB / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.173, allocations: 7.922 kB / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.1737, allocations: 438.5 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.733e-05/0.1738, allocations: 0.6809 MB / 0.986 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.145e-05/0.1738, allocations: 4 kB / 0.986 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.1739, allocations: 20.48 kB / 0.9861 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1739, allocations: 0 / 0.9861 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01024/0.1841, allocations: 1.229 MB / 0.9873 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/0.1843, allocations: 214.9 kB / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/1.741, allocations: 4 kB / 0.9875 GB, free: 19.48 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)