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.001035/0.001035, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001463/0.001463, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.735/1.735, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.000562/0.0005621, allocations: 20.06 kB / 0.6736 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.265, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.0008921/0.2659, allocations: 389.5 kB / 0.7875 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.267, allocations: 0.8282 MB / 0.7883 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.2671, allocations: 0 / 0.7883 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.2673, allocations: 8 kB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.2674, allocations: 4 kB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.2676, allocations: 15.92 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.2677, allocations: 39.94 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.2679, allocations: 27.98 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.268, allocations: 19.92 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.2681, allocations: 27.89 kB / 0.7884 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.2681, allocations: 4 kB / 0.7884 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.2681, allocations: 4 kB / 0.7884 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.2682, allocations: 23.91 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.2682, allocations: 41.58 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.2684, allocations: 63.86 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2684, allocations: 4 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.946e-06/0.2684, allocations: 0 / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.2684, allocations: 4 kB / 0.7886 GB, free: 10.45 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.0007055/0.2691, allocations: 391.4 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2692, allocations: 11.97 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.2692, allocations: 7.906 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.2695, allocations: 191 kB / 0.7892 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.2695, allocations: 8 kB / 0.7892 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2695, allocations: 4 kB / 0.7892 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.27, allocations: 169.5 kB / 0.7893 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.27, allocations: 8 kB / 0.7893 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.27, allocations: 0 / 0.7893 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.27, allocations: 0 / 0.7893 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004479/0.2705, allocations: 175.8 kB / 0.7895 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.2711, allocations: 452.7 kB / 0.7899 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.2714, allocations: 133.1 kB / 0.7901 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2714, allocations: 4 kB / 0.7901 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.2715, allocations: 34.62 kB / 0.7901 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2715, allocations: 0 / 0.7901 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0007597/0.2722, allocations: 261.6 kB / 0.7903 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.2723, allocations: 81.11 kB / 0.7904 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2724, allocations: 122 kB / 0.7905 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.2725, allocations: 29.7 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.2725, allocations: 99.89 kB / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.2726, allocations: 7.891 kB / 0.7907 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-06/0.2726, allocations: 0 / 0.7907 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2727, allocations: 322.8 kB / 0.791 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.273, allocations: 75.95 kB / 0.7911 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.2732, allocations: 89.62 kB / 0.7911 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.2734, allocations: 67.92 kB / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2734, allocations: 0 / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004598/0.2739, allocations: 189.4 kB / 0.7914 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2739, allocations: 8.375 kB / 0.7914 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2739, allocations: 0 / 0.7914 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2739, allocations: 0 / 0.7914 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.2741, allocations: 31.92 kB / 0.7914 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.2741, allocations: 7.922 kB / 0.7914 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2742, allocations: 24.02 kB / 0.7915 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2743, allocations: 4 kB / 0.7915 GB, free: 7.254 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.2744, allocations: 129.8 kB / 0.7916 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.2744, allocations: 4.078 kB / 0.7916 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.2745, allocations: 11.53 kB / 0.7916 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2745, allocations: 0 / 0.7916 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2745, allocations: 7.891 kB / 0.7916 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2745, allocations: 4 kB / 0.7916 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.2748, allocations: 201.5 kB / 0.7918 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2748, allocations: 0 / 0.7918 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.2749, allocations: 27.97 kB / 0.7918 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2749, allocations: 0 / 0.7918 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.2749, allocations: 7.984 kB / 0.7918 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.275, allocations: 3.938 kB / 0.7918 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.275, allocations: 0 / 0.7918 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/0.2755, allocations: 368.3 kB / 0.7922 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.2756, allocations: 85.02 kB / 0.7923 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.2756, allocations: 4 kB / 0.7923 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2757, allocations: 23.97 kB / 0.7923 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.2758, allocations: 27.92 kB / 0.7923 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.2759, allocations: 4 kB / 0.7923 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.171e-05/0.2759, allocations: 95.27 kB / 0.7924 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2759, allocations: 0 / 0.7924 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002629/0.2762, allocations: 12 kB / 0.7924 GB, free: 6.152 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 (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.0001452/0.2763, allocations: 103.2 kB / 0.7925 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004727/0.2768, allocations: 163.8 kB / 0.7927 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2768, allocations: 0 / 0.7927 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.2771, allocations: 104 kB / 0.7928 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.2773, allocations: 4 kB / 0.7928 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/0.2778, allocations: 213.1 kB / 0.793 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.2781, allocations: 0.7043 MB / 0.7937 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.652e-05/0.2782, allocations: 31.91 kB / 0.7937 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.2782, allocations: 15.38 kB / 0.7937 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2782, allocations: 0 / 0.7937 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.00343/0.2817, allocations: 1.031 MB / 0.7947 GB, free: 3.746 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: