Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001652/0.001652, allocations: 200.3 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.1 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 106 kB / 0.748 GB, free: 61.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3512, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.003561/0.3548, allocations: 0.7155 MB / 0.9829 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.3565, allocations: 0.7893 MB / 0.9837 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/0.3566, allocations: 0 / 0.9837 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.3568, allocations: 3.984 kB / 0.9837 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.357, allocations: 7.922 kB / 0.9837 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.366e-05/0.3571, allocations: 8 kB / 0.9837 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.3573, allocations: 51.91 kB / 0.9838 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.3575, allocations: 19.98 kB / 0.9838 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.65e-05/0.3576, allocations: 27.84 kB / 0.9838 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.3577, allocations: 27.84 kB / 0.9838 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.3577, allocations: 4 kB / 0.9838 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.638e-05/0.3578, allocations: 8 kB / 0.9839 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.3578, allocations: 15.98 kB / 0.9839 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.3579, allocations: 23.86 kB / 0.9839 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.3581, allocations: 67.77 kB / 0.984 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3581, allocations: 0 / 0.984 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3581, allocations: 0 / 0.984 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.3581, allocations: 0 / 0.984 GB, free: 8.594 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009771/0.3591, allocations: 395.5 kB / 0.9843 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.3591, allocations: 12.03 kB / 0.9843 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.3592, allocations: 8.844 kB / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.3595, allocations: 184.2 kB / 0.9845 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3595, allocations: 8.312 kB / 0.9845 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.3596, allocations: 4.375 kB / 0.9845 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.36, allocations: 127.9 kB / 0.9847 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.36, allocations: 192 / 0.9847 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.36, allocations: 7.938 kB / 0.9847 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.3601, allocations: 3.938 kB / 0.9847 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.3605, allocations: 131.8 kB / 0.9848 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007956/0.3613, allocations: 428.9 kB / 0.9852 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.3615, allocations: 89.08 kB / 0.9853 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.3617, allocations: 69.7 kB / 0.9854 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3618, allocations: 0 / 0.9854 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.3618, allocations: 38.5 kB / 0.9854 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3618, allocations: 0 / 0.9854 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0006802/0.3625, allocations: 189.6 kB / 0.9856 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.3626, allocations: 81.05 kB / 0.9857 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3627, allocations: 117.8 kB / 0.9858 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3627, allocations: 25.7 kB / 0.9858 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3628, allocations: 99.97 kB / 0.9859 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.3629, allocations: 4.062 kB / 0.9859 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.3629, allocations: 21.72 kB / 0.9859 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3631, allocations: 318.8 kB / 0.9862 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.3633, allocations: 51.94 kB / 0.9863 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.3635, allocations: 65.64 kB / 0.9863 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.3638, allocations: 109.6 kB / 0.9864 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3638, allocations: 0 / 0.9864 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003935/0.3642, allocations: 141.5 kB / 0.9866 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3642, allocations: 7.984 kB / 0.9866 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3642, allocations: 0 / 0.9866 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.3643, allocations: 7.922 kB / 0.9866 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3644, allocations: 15.98 kB / 0.9866 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.3644, allocations: 3.938 kB / 0.9866 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.056e-05/0.3645, allocations: 23.91 kB / 0.9866 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3645, allocations: 64 / 0.9866 GB, free: 5.594 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.3647, allocations: 125.8 kB / 0.9867 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.3647, allocations: 4 kB / 0.9868 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.3648, allocations: 7.531 kB / 0.9868 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3648, allocations: 3.984 kB / 0.9868 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3648, allocations: 4.375 kB / 0.9868 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3648, allocations: 3.938 kB / 0.9868 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.365, allocations: 181.6 kB / 0.9869 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3651, allocations: 0 / 0.9869 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/0.3652, allocations: 27.92 kB / 0.987 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3652, allocations: 0 / 0.987 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3652, allocations: 0 / 0.987 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.3652, allocations: 3.984 kB / 0.987 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3652, allocations: 0 / 0.987 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009712/0.3662, allocations: 0.9183 MB / 0.9879 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.3662, allocations: 81.02 kB / 0.9879 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.3663, allocations: 3.938 kB / 0.988 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.3664, allocations: 19.97 kB / 0.988 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.3665, allocations: 12.02 kB / 0.988 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3665, allocations: 4 kB / 0.988 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.754e-05/0.3666, allocations: 95.2 kB / 0.9881 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.3666, allocations: 0 / 0.9881 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003833/0.367, allocations: 15.94 kB / 0.9881 GB, free: 3.953 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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 (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.0001553/0.3671, allocations: 95.25 kB / 0.9882 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.3676, allocations: 115.8 kB / 0.9883 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3676, allocations: 0 / 0.9883 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.3678, allocations: 67.86 kB / 0.9884 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.3681, allocations: 7.938 kB / 0.9884 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.3687, allocations: 294.9 kB / 0.9886 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.369, allocations: 0.7005 MB / 0.9893 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.374e-05/0.3691, allocations: 11.98 kB / 0.9893 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.3691, allocations: 11.44 kB / 0.9894 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.3691, allocations: 0 / 0.9894 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of Templates: time 0.003153/0.3723, allocations: 0.6562 MB / 0.99 GB, free: 1.934 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)