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.001098/0.001098, allocations: 101.2 kB / 16.27 MB, free: 6.418 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.001128/0.001128, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.413/1.413, allocations: 205.1 MB / 223.1 MB, free: 12.31 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 1.76/1.76, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001467/0.001467, allocations: 74.56 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2528, allocations: 114.5 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002235/0.2551, allocations: 0.6626 MB / 0.7847 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2562, allocations: 0.8398 MB / 0.7855 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.2563, allocations: 0 / 0.7855 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.942e-05/0.2564, allocations: 7.938 kB / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.653e-05/0.2565, allocations: 0 / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.2566, allocations: 27.89 kB / 0.7855 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.2568, allocations: 67.91 kB / 0.7856 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.2569, allocations: 31.97 kB / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.4e-05/0.257, allocations: 39.8 kB / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.2571, allocations: 43.88 kB / 0.7857 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.2571, allocations: 7.938 kB / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.644e-05/0.2572, allocations: 4 kB / 0.7857 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.2572, allocations: 27.92 kB / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.2573, allocations: 35.8 kB / 0.7858 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.2574, allocations: 91.73 kB / 0.7859 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2575, allocations: 0 / 0.7859 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2575, allocations: 0 / 0.7859 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2575, allocations: 0 / 0.7859 GB, free: 1.984 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.0007002/0.2582, allocations: 399.5 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2582, allocations: 12.03 kB / 0.7863 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.2583, allocations: 8.844 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.2585, allocations: 192.2 kB / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.2585, allocations: 12.38 kB / 0.7865 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.2585, allocations: 8.359 kB / 0.7865 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.259, allocations: 163.8 kB / 0.7866 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.259, allocations: 192 / 0.7866 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.259, allocations: 3.938 kB / 0.7866 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.259, allocations: 0 / 0.7866 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.2595, allocations: 159.8 kB / 0.7868 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.2601, allocations: 440.8 kB / 0.7872 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.2604, allocations: 117.1 kB / 0.7873 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.2606, allocations: 77.7 kB / 0.7874 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.2607, allocations: 4.062 kB / 0.7874 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.2607, allocations: 42.5 kB / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2607, allocations: 0 / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.4082/0.6689, allocations: 219.5 kB / 0.7876 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.669, allocations: 79.33 kB / 0.7877 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.6692, allocations: 129.2 kB / 0.7878 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.6692, allocations: 27.23 kB / 0.7879 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.6693, allocations: 103.1 kB / 0.788 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.6693, allocations: 5.781 kB / 0.788 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.6694, allocations: 25.66 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.6694, allocations: 320 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.6696, allocations: 62.67 kB / 0.7884 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.6698, allocations: 81.31 kB / 0.7884 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.6702, allocations: 132.5 kB / 0.7886 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6702, allocations: 0 / 0.7886 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000432/0.6706, allocations: 168.1 kB / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.6707, allocations: 3.438 kB / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6707, allocations: 6.375 kB / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.6707, allocations: 0 / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.6709, allocations: 21.09 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6709, allocations: 8.578 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.671, allocations: 16.89 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.6711, allocations: 2.594 kB / 0.7888 GB, free: 48.04 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 8.786e-05/0.6711, allocations: 131.2 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.6712, allocations: 12.81 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.6712, allocations: 6 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6712, allocations: 2.875 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6713, allocations: 0.875 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.6713, allocations: 1.844 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.6715, allocations: 194.1 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6715, allocations: 0 / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.6716, allocations: 28.17 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6716, allocations: 6.406 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.6717, allocations: 6.906 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6717, allocations: 0.5312 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.6717, allocations: 1.719 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.6721, allocations: 331.2 kB / 0.7895 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.6722, allocations: 83.64 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.6722, allocations: 3.938 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.6723, allocations: 18.05 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/0.6724, allocations: 29.61 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.6725, allocations: 2.625 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.293e-05/0.6725, allocations: 98.33 kB / 0.7897 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6725, allocations: 4.141 kB / 0.7897 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002658/0.6728, allocations: 10.5 kB / 0.7897 GB, free: 47.36 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.0001185/0.6729, allocations: 104.9 kB / 0.7898 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004715/0.6734, allocations: 137.9 kB / 0.7899 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6734, allocations: 1.281 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.6736, allocations: 82.89 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.674, allocations: 11.38 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.6744, allocations: 220.7 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.6746, allocations: 0.6995 MB / 0.7909 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.6747, allocations: 10.06 kB / 0.7909 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.6747, allocations: 0.5 kB / 0.7909 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.002751/0.6774, allocations: 1.22 MB / 0.7921 GB, free: 46.39 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)