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.001876/0.001876, allocations: 102.4 kB / 16.29 MB, free: 6.113 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.001992/0.001992, allocations: 183.7 kB / 17.22 MB, free: 5.73 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.655/1.655, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.034/2.034, allocations: 292.3 MB / 0.5495 GB, free: 17.44 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.001817/0.001817, allocations: 75.89 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3852, allocations: 114.5 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.003104/0.3883, allocations: 0.6615 MB / 0.7847 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.3901, allocations: 0.836 MB / 0.7855 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.017e-05/0.3903, allocations: 0 / 0.7855 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.3904, allocations: 7.922 kB / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.3906, allocations: 7.938 kB / 0.7856 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.3908, allocations: 15.98 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.3911, allocations: 71.81 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.3913, allocations: 31.98 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3915, allocations: 39.84 kB / 0.7857 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3916, allocations: 43.88 kB / 0.7858 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.3917, allocations: 4 kB / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.73e-05/0.3917, allocations: 8 kB / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.354e-05/0.3918, allocations: 23.92 kB / 0.7858 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.3919, allocations: 35.8 kB / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.3921, allocations: 95.67 kB / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3921, allocations: 0 / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.875e-06/0.3921, allocations: 0 / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.3921, allocations: 0 / 0.7859 GB, free: 1.949 MB / 0.6544 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.0009835/0.3931, allocations: 403.5 kB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.3932, allocations: 8.031 kB / 0.7863 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.918e-05/0.3933, allocations: 8.844 kB / 0.7863 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.3936, allocations: 192.3 kB / 0.7865 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.3936, allocations: 12.31 kB / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.3937, allocations: 8.375 kB / 0.7865 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.3941, allocations: 163.7 kB / 0.7867 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3942, allocations: 192 / 0.7867 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.3942, allocations: 7.938 kB / 0.7867 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.3942, allocations: 4 kB / 0.7867 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.3946, allocations: 151.8 kB / 0.7868 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008232/0.3955, allocations: 436.7 kB / 0.7872 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.3958, allocations: 125 kB / 0.7874 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.396, allocations: 77.69 kB / 0.7874 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3961, allocations: 0 / 0.7874 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.3961, allocations: 38.56 kB / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.3961, allocations: 0 / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.6869/1.083, allocations: 227.7 kB / 0.7877 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/1.083, allocations: 79.14 kB / 0.7878 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/1.083, allocations: 130.6 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/1.083, allocations: 26.2 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/1.083, allocations: 96.61 kB / 0.788 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/1.083, allocations: 14.42 kB / 0.788 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/1.083, allocations: 22.34 kB / 0.788 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.389e-05/1.084, allocations: 320 kB / 0.7884 GB, free: 48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/1.084, allocations: 65.55 kB / 0.7884 GB, free: 48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/1.084, allocations: 77.83 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/1.084, allocations: 131.5 kB / 0.7886 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.084, allocations: 0 / 0.7886 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004071/1.085, allocations: 162.5 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.085, allocations: 6.625 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.085, allocations: 0 / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/1.085, allocations: 2.875 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/1.085, allocations: 27.92 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.085, allocations: 3.844 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/1.085, allocations: 15.22 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/1.085, allocations: 5.844 kB / 0.7888 GB, free: 47.94 MB / 0.6544 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.0001008/1.085, allocations: 129.2 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/1.085, allocations: 9.375 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/1.085, allocations: 12.22 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.085, allocations: 2.656 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.085, allocations: 3.406 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.085, allocations: 3.234 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/1.086, allocations: 194.2 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.086, allocations: 1.438 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/1.086, allocations: 22.31 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.086, allocations: 4.5 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/1.086, allocations: 4.469 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.086, allocations: 2.625 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.086, allocations: 11.22 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/1.086, allocations: 326.6 kB / 0.7895 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/1.086, allocations: 83.52 kB / 0.7896 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/1.086, allocations: 4.75 kB / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/1.086, allocations: 18.3 kB / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/1.086, allocations: 27.34 kB / 0.7897 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/1.086, allocations: 3.5 kB / 0.7897 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.547e-05/1.087, allocations: 91.42 kB / 0.7897 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/1.087, allocations: 5.094 kB / 0.7897 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002687/1.087, allocations: 11.38 kB / 0.7898 GB, free: 47.25 MB / 0.6544 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.0001423/1.087, allocations: 102.5 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004414/1.087, allocations: 138.9 kB / 0.79 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.087, allocations: 2.281 kB / 0.79 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/1.088, allocations: 91.62 kB / 0.7901 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/1.088, allocations: 13.53 kB / 0.7901 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/1.089, allocations: 191.4 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/1.089, allocations: 0.7059 MB / 0.791 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.066e-05/1.089, allocations: 19.58 kB / 0.791 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/1.089, allocations: 12.98 kB / 0.791 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of SimCode: time 9.51e-07/1.089, allocations: 3.469 kB / 0.791 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.005091/1.094, allocations: 1.259 MB / 0.7922 GB, free: 46.33 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)