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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 191.2 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.873/1.873, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 70.89 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2571, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002358/0.2595, allocations: 0.727 MB / 0.7834 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2606, allocations: 0.8399 MB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.2606, allocations: 0 / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.2608, allocations: 0 / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.2609, allocations: 7.938 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.261, allocations: 19.97 kB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.2611, allocations: 67.83 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.2613, allocations: 31.97 kB / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.2614, allocations: 39.86 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.58e-05/0.2615, allocations: 31.89 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.2615, allocations: 4 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.2615, allocations: 0 / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.2616, allocations: 32.97 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.2617, allocations: 27.81 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.2618, allocations: 83.73 kB / 0.7845 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2618, allocations: 0 / 0.7845 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.91e-07/0.2618, allocations: 0 / 0.7845 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2618, allocations: 0 / 0.7845 GB, free: 12.05 MB / 0.6075 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.0006518/0.2625, allocations: 407.5 kB / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2625, allocations: 11.97 kB / 0.7849 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.2626, allocations: 8.844 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.2627, allocations: 188.2 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.2628, allocations: 8.359 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.2628, allocations: 8.375 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004216/0.2632, allocations: 159.8 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.2633, allocations: 192 / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.2633, allocations: 7.938 kB / 0.7853 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.2633, allocations: 4 kB / 0.7853 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.2637, allocations: 155.7 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.2643, allocations: 444.7 kB / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.2646, allocations: 121.1 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.2648, allocations: 73.7 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.2649, allocations: 3.984 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.2649, allocations: 38.55 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2649, allocations: 0 / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0007413/0.2656, allocations: 229.3 kB / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.2657, allocations: 85.09 kB / 0.7864 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2658, allocations: 126 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.2659, allocations: 29.7 kB / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.2659, allocations: 99.94 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.2659, allocations: 12.05 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.266, allocations: 25.7 kB / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.2662, allocations: 314.8 kB / 0.787 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.2664, allocations: 63.91 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.2666, allocations: 77.64 kB / 0.7871 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.267, allocations: 133.5 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.267, allocations: 0 / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004411/0.2674, allocations: 161.9 kB / 0.7874 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2674, allocations: 4 kB / 0.7874 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2675, allocations: 0 / 0.7874 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2675, allocations: 4 kB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.2677, allocations: 23.91 kB / 0.7874 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2677, allocations: 7.938 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2678, allocations: 31.94 kB / 0.7875 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.2678, allocations: 0 / 0.7875 GB, free: 8.785 MB / 0.6075 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.000108/0.2679, allocations: 130.4 kB / 0.7876 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.268, allocations: 11.92 kB / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.268, allocations: 7.531 kB / 0.7876 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.268, allocations: 0 / 0.7876 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.268, allocations: 7.938 kB / 0.7876 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.268, allocations: 4 kB / 0.7876 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.2683, allocations: 189.6 kB / 0.7878 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2683, allocations: 0 / 0.7878 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.2685, allocations: 27.91 kB / 0.7878 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2685, allocations: 0 / 0.7878 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2685, allocations: 4 kB / 0.7878 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2685, allocations: 3.984 kB / 0.7878 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2685, allocations: 3.938 kB / 0.7879 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.269, allocations: 334.6 kB / 0.7882 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.2691, allocations: 81.11 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.2691, allocations: 0 / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.2692, allocations: 19.97 kB / 0.7883 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.2693, allocations: 27.91 kB / 0.7883 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.2694, allocations: 4 kB / 0.7883 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.2694, allocations: 99.2 kB / 0.7884 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2694, allocations: 0 / 0.7884 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000266/0.2697, allocations: 15.91 kB / 0.7884 GB, free: 7.734 MB / 0.6075 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.0001212/0.2698, allocations: 99.23 kB / 0.7885 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004478/0.2703, allocations: 143.8 kB / 0.7886 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2703, allocations: 0 / 0.7886 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.2705, allocations: 91.83 kB / 0.7887 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.2709, allocations: 4.281 kB / 0.7887 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.2713, allocations: 216.3 kB / 0.7889 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.2717, allocations: 0.7004 MB / 0.7896 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.159e-05/0.2717, allocations: 23.92 kB / 0.7896 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.2718, allocations: 11.44 kB / 0.7897 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2718, allocations: 0 / 0.7897 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of Templates: time 0.003195/0.275, allocations: 1.076 MB / 0.7907 GB, free: 5.328 MB / 0.6075 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)