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.0007354/0.0007352, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008002/0.0008003, allocations: 172.7 kB / 15.95 MB, free: 208 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.444/1.444, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.643/1.643, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005214/0.0005216, allocations: 13.5 kB / 0.6737 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2435, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.0008582/0.2444, allocations: 385.5 kB / 0.7877 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.2454, allocations: 0.8283 MB / 0.7885 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.2454, allocations: 7.938 kB / 0.7885 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.828e-05/0.2455, allocations: 3.984 kB / 0.7885 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.2456, allocations: 11.94 kB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.2458, allocations: 11.98 kB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.2459, allocations: 59.83 kB / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.246, allocations: 27.98 kB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.2461, allocations: 19.92 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.112e-05/0.2462, allocations: 27.89 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.2462, allocations: 4 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.2462, allocations: 0 / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.2462, allocations: 27.91 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.2463, allocations: 33.7 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.303e-05/0.2464, allocations: 63.86 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2464, allocations: 4 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2464, allocations: 3.938 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.2464, allocations: 0 / 0.7888 GB, free: 10.41 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.0005782/0.247, allocations: 395.4 kB / 0.7891 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.247, allocations: 15.97 kB / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.2471, allocations: 7.906 kB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.2473, allocations: 191 kB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2473, allocations: 3.938 kB / 0.7894 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.2473, allocations: 8 kB / 0.7894 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.2477, allocations: 174.2 kB / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2477, allocations: 0 / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.2477, allocations: 12 kB / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2477, allocations: 0 / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/0.2481, allocations: 171.8 kB / 0.7897 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.2487, allocations: 456.6 kB / 0.7901 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.2489, allocations: 129.1 kB / 0.7903 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.2492, allocations: 82.77 kB / 0.7903 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.2492, allocations: 0 / 0.7903 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2492, allocations: 42.56 kB / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.2492, allocations: 0 / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0006812/0.2499, allocations: 261.4 kB / 0.7906 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.25, allocations: 81.27 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.2501, allocations: 125.9 kB / 0.7908 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2501, allocations: 25.7 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.2501, allocations: 99.97 kB / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.2502, allocations: 7.906 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.2502, allocations: 4 kB / 0.791 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.2503, allocations: 318.8 kB / 0.7913 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.2505, allocations: 79.91 kB / 0.7913 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.2507, allocations: 81.64 kB / 0.7914 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.2509, allocations: 75.92 kB / 0.7915 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2509, allocations: 0 / 0.7915 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004083/0.2513, allocations: 189.4 kB / 0.7917 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2513, allocations: 4 kB / 0.7917 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.2513, allocations: 4.062 kB / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2513, allocations: 3.953 kB / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.2515, allocations: 27.97 kB / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2515, allocations: 0 / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-05/0.2516, allocations: 23.97 kB / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.2516, allocations: 4.375 kB / 0.7917 GB, free: 7.121 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.0001033/0.2517, allocations: 126.5 kB / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.2518, allocations: 4 kB / 0.7919 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.2518, allocations: 11.61 kB / 0.7919 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2518, allocations: 3.938 kB / 0.7919 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.2519, allocations: 7.953 kB / 0.7919 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2519, allocations: 3.984 kB / 0.7919 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.2521, allocations: 201.6 kB / 0.7921 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2521, allocations: 4 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.2522, allocations: 27.97 kB / 0.7921 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.2523, allocations: 4 kB / 0.7921 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2523, allocations: 0 / 0.7921 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2523, allocations: 3.938 kB / 0.7921 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2523, allocations: 0 / 0.7921 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.2528, allocations: 358.6 kB / 0.7925 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.2528, allocations: 85.02 kB / 0.7925 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.2528, allocations: 0 / 0.7925 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.253, allocations: 19.97 kB / 0.7926 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/0.2531, allocations: 27.91 kB / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.2531, allocations: 7.938 kB / 0.7926 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.271e-05/0.2532, allocations: 95.27 kB / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2532, allocations: 4 kB / 0.7927 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002637/0.2534, allocations: 16 kB / 0.7927 GB, free: 6.031 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.0001339/0.2536, allocations: 103.2 kB / 0.7928 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004273/0.254, allocations: 155.8 kB / 0.7929 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.254, allocations: 0 / 0.7929 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.2543, allocations: 104 kB / 0.793 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.2546, allocations: 19.17 kB / 0.7931 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.255, allocations: 209.8 kB / 0.7933 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2553, allocations: 0.6965 MB / 0.7939 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.099e-05/0.2554, allocations: 19.98 kB / 0.794 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.2555, allocations: 19.42 kB / 0.794 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2555, allocations: 0 / 0.794 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.003304/0.2588, allocations: 1.029 MB / 0.795 GB, free: 3.633 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: