Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.3 MB / 308.1 MB, free: 4.328 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.002163/0.002164, allocations: 190.4 kB / 376.9 MB, free: 1.836 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.065/2.065, allocations: 205.1 MB / 0.6353 GB, free: 9.797 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.0009859/0.000986, allocations: 94.03 kB / 0.748 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.267, 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.IntegerVectorReplicator): time 0.002635/0.2697, allocations: 0.729 MB / 0.9829 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.271, allocations: 0.836 MB / 0.9838 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.2711, allocations: 3.938 kB / 0.9838 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.2713, allocations: 0 / 0.9838 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.2714, allocations: 7.938 kB / 0.9838 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.2715, allocations: 19.98 kB / 0.9838 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.2717, allocations: 71.81 kB / 0.9839 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.2718, allocations: 31.98 kB / 0.9839 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.4e-05/0.2719, allocations: 31.84 kB / 0.9839 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.272, allocations: 31.91 kB / 0.9839 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.272, allocations: 4 kB / 0.984 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.2721, allocations: 4 kB / 0.984 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.2721, allocations: 31.89 kB / 0.984 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.2722, allocations: 31.8 kB / 0.984 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.2724, allocations: 83.75 kB / 0.9841 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2724, allocations: 0 / 0.9841 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2724, allocations: 0 / 0.9841 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2724, allocations: 0 / 0.9841 GB, free: 8.445 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007693/0.2732, allocations: 399.5 kB / 0.9845 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2732, allocations: 8.031 kB / 0.9845 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.2733, allocations: 12.84 kB / 0.9845 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.2735, allocations: 196.2 kB / 0.9847 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.2736, allocations: 8.375 kB / 0.9847 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.2736, allocations: 8.312 kB / 0.9847 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.274, allocations: 155.8 kB / 0.9848 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.274, allocations: 192 / 0.9848 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.274, allocations: 3.938 kB / 0.9849 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2741, allocations: 8 kB / 0.9849 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.2745, allocations: 159.7 kB / 0.985 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.2752, allocations: 452.6 kB / 0.9854 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.2755, allocations: 117.1 kB / 0.9856 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.2757, allocations: 77.69 kB / 0.9856 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.2757, allocations: 4 kB / 0.9856 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.2758, allocations: 34.5 kB / 0.9857 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.2758, allocations: 0 / 0.9857 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.000756/0.2765, allocations: 229.5 kB / 0.9859 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.2766, allocations: 77.11 kB / 0.986 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2767, allocations: 125.8 kB / 0.9861 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2767, allocations: 29.69 kB / 0.9861 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.2768, allocations: 95.95 kB / 0.9862 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.2768, allocations: 7.906 kB / 0.9862 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.2769, allocations: 25.86 kB / 0.9862 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.277, allocations: 318.8 kB / 0.9865 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2772, allocations: 63.91 kB / 0.9866 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.2774, allocations: 77.64 kB / 0.9867 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.2778, allocations: 137.5 kB / 0.9868 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2778, allocations: 0 / 0.9868 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004773/0.2783, allocations: 165.4 kB / 0.987 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2783, allocations: 8 kB / 0.987 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2784, allocations: 0 / 0.987 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2784, allocations: 0 / 0.987 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.2786, allocations: 23.91 kB / 0.987 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.2786, allocations: 11.92 kB / 0.987 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.2787, allocations: 11.98 kB / 0.987 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.2787, allocations: 0 / 0.987 GB, free: 5.191 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: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001482/0.2789, allocations: 142.2 kB / 0.9871 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.279, allocations: 4 kB / 0.9872 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.279, allocations: 7.531 kB / 0.9872 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.279, allocations: 4 kB / 0.9872 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.279, allocations: 7.875 kB / 0.9872 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2791, allocations: 0 / 0.9872 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.2794, allocations: 197.5 kB / 0.9874 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2794, allocations: 0 / 0.9874 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.2795, allocations: 19.97 kB / 0.9874 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-06/0.2795, allocations: 8 kB / 0.9874 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.2796, allocations: 3.984 kB / 0.9874 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2796, allocations: 0 / 0.9874 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2796, allocations: 3.938 kB / 0.9874 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.2808, allocations: 0.9536 MB / 0.9883 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.2808, allocations: 84.95 kB / 0.9884 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.2809, allocations: 4 kB / 0.9884 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.2811, allocations: 15.97 kB / 0.9884 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2812, allocations: 27.89 kB / 0.9884 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.2812, allocations: 12.14 kB / 0.9885 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.471e-05/0.2813, allocations: 91.27 kB / 0.9885 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2813, allocations: 0 / 0.9885 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004267/0.2817, allocations: 12 kB / 0.9886 GB, free: 3.465 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: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002331/0.282, allocations: 103.2 kB / 0.9887 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005408/0.2825, allocations: 143.8 kB / 0.9888 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.2826, allocations: 4 kB / 0.9888 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.2828, allocations: 83.89 kB / 0.9889 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.2832, allocations: 15.92 kB / 0.9889 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.2838, allocations: 331.3 kB / 0.9892 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.2841, allocations: 0.7004 MB / 0.9899 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.327e-05/0.2842, allocations: 23.98 kB / 0.9899 GB, free: 2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.2842, allocations: 7.438 kB / 0.9899 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of SimCode: time 3.7e-07/0.2842, allocations: 0 / 0.9899 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of Templates: time 0.003606/0.2878, allocations: 1.12 MB / 0.991 GB, free: 0.8789 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)