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.001394/0.001394, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001675, allocations: 186.2 kB / 16.62 MB, free: 6.613 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.652/1.652, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.904/1.904, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.00162/0.00162, allocations: 78.17 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3365, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00232/0.3389, allocations: 0.662 MB / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.34, allocations: 0.836 MB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.3401, allocations: 0 / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.3402, allocations: 3.938 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.3403, allocations: 15.91 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.3405, allocations: 27.92 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.3407, allocations: 71.81 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.3409, allocations: 31.98 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.3409, allocations: 35.91 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.3411, allocations: 39.84 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.3411, allocations: 4 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.088e-05/0.3411, allocations: 8 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.465e-05/0.3412, allocations: 31.89 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.3413, allocations: 27.86 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.3414, allocations: 95.62 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3414, allocations: 0 / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.767e-06/0.3414, allocations: 3.984 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3414, allocations: 4 kB / 0.786 GB, free: 10.84 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.0007099/0.3422, allocations: 399.2 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3422, allocations: 8.031 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.3423, allocations: 8.844 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.3425, allocations: 188.3 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.3425, allocations: 4.375 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.3425, allocations: 4.375 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.3429, allocations: 166.9 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3429, allocations: 4.172 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.343, allocations: 3.938 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.343, allocations: 4 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.3434, allocations: 151.8 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.344, allocations: 448.7 kB / 0.7873 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.3444, allocations: 121.1 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.3446, allocations: 77.69 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.3446, allocations: 0 / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.3446, allocations: 38.5 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.3447, allocations: 0 / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0007444/0.3454, allocations: 229.3 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.3455, allocations: 85.05 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3456, allocations: 133.7 kB / 0.788 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3456, allocations: 25.95 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.3457, allocations: 99.95 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.3457, allocations: 7.906 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.3458, allocations: 21.7 kB / 0.7881 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002641/0.346, allocations: 314.8 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.3462, allocations: 67.91 kB / 0.7885 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.3464, allocations: 77.64 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.3468, allocations: 129.6 kB / 0.7887 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3468, allocations: 0 / 0.7887 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004337/0.3473, allocations: 161.5 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3473, allocations: 4 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3473, allocations: 0 / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3473, allocations: 4.094 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.3475, allocations: 23.95 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3475, allocations: 7.875 kB / 0.7889 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3476, allocations: 31.94 kB / 0.7889 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3477, allocations: 3.984 kB / 0.7889 GB, free: 7.59 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.000109/0.3478, allocations: 134.4 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.3478, allocations: 0 / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.3479, allocations: 11.53 kB / 0.789 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3479, allocations: 0 / 0.789 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3479, allocations: 3.938 kB / 0.789 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.3479, allocations: 4 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.3481, allocations: 193.6 kB / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3482, allocations: 0 / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.3483, allocations: 27.95 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3483, allocations: 0 / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3483, allocations: 0 / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3483, allocations: 4 kB / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3483, allocations: 3.938 kB / 0.7893 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.3488, allocations: 338.5 kB / 0.7896 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.3489, allocations: 77.11 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.3489, allocations: 4.375 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.3491, allocations: 19.97 kB / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.3492, allocations: 23.91 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3492, allocations: 8 kB / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.3493, allocations: 99.2 kB / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3493, allocations: 0 / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002615/0.3495, allocations: 11.91 kB / 0.7898 GB, free: 6.547 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.0001391/0.3497, allocations: 107.2 kB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004749/0.3502, allocations: 143.8 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3502, allocations: 0 / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.3504, allocations: 87.89 kB / 0.7901 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3508, allocations: 14.38 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.3513, allocations: 210.6 kB / 0.7903 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.3517, allocations: 0.7041 MB / 0.791 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.54e-05/0.3517, allocations: 15.98 kB / 0.7911 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.3518, allocations: 11.44 kB / 0.7911 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of SimCode: time 1.934e-06/0.3518, allocations: 0 / 0.7911 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of Templates: time 0.003927/0.3557, allocations: 1.258 MB / 0.7923 GB, free: 3.949 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)