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.0008794/0.0008795, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.00595/0.00595, allocations: 171.3 kB / 16.26 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.868/1.868, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.873/1.873, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0006183/0.0006184, allocations: 23.94 kB / 0.6743 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3418, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001038/0.3429, allocations: 405.4 kB / 0.7883 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.344, allocations: 0.8282 MB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.344, allocations: 4 kB / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.3442, allocations: 4 kB / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.3443, allocations: 11.92 kB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.3444, allocations: 19.91 kB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3446, allocations: 63.84 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3447, allocations: 35.97 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.3449, allocations: 23.92 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.345, allocations: 39.77 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.345, allocations: 4 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.3451, allocations: 0 / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.3451, allocations: 27.91 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.3452, allocations: 53.56 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.3453, allocations: 83.73 kB / 0.7894 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3453, allocations: 0 / 0.7894 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3454, allocations: 0 / 0.7894 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3454, allocations: 0 / 0.7894 GB, free: 9.965 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.0008239/0.3462, allocations: 399.5 kB / 0.7898 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.3462, allocations: 8.031 kB / 0.7898 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.3463, allocations: 8.844 kB / 0.7898 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.3465, allocations: 196.2 kB / 0.79 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.3466, allocations: 4.375 kB / 0.79 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.3466, allocations: 8.375 kB / 0.79 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.347, allocations: 184.9 kB / 0.7902 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.347, allocations: 3.938 kB / 0.7902 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3471, allocations: 0 / 0.7902 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3471, allocations: 0 / 0.7902 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.3475, allocations: 175.8 kB / 0.7904 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.3482, allocations: 448.7 kB / 0.7908 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.3485, allocations: 125.1 kB / 0.7909 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.3487, allocations: 89.69 kB / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3487, allocations: 8 kB / 0.791 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3488, allocations: 30.56 kB / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3488, allocations: 0 / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0007824/0.3496, allocations: 257.6 kB / 0.7913 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.3496, allocations: 81.11 kB / 0.7914 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3498, allocations: 134 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.3498, allocations: 25.7 kB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.3499, allocations: 99.98 kB / 0.7916 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.3499, allocations: 12.12 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.3499, allocations: 21.66 kB / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3501, allocations: 314.8 kB / 0.7919 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.3503, allocations: 75.91 kB / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.3505, allocations: 93.58 kB / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.351, allocations: 149.6 kB / 0.7923 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.351, allocations: 0 / 0.7923 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004829/0.3515, allocations: 189.4 kB / 0.7924 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3515, allocations: 4 kB / 0.7924 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3515, allocations: 4 kB / 0.7924 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3515, allocations: 0 / 0.7924 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.3517, allocations: 36.03 kB / 0.7925 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.3518, allocations: 3.938 kB / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.3519, allocations: 23.97 kB / 0.7925 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3519, allocations: 0 / 0.7925 GB, free: 6.559 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.0001674/0.3521, allocations: 137.8 kB / 0.7926 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.3521, allocations: 7.906 kB / 0.7926 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.3522, allocations: 7.531 kB / 0.7926 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3522, allocations: 0 / 0.7926 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3522, allocations: 7.938 kB / 0.7927 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3522, allocations: 0 / 0.7927 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.3525, allocations: 189.6 kB / 0.7928 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3525, allocations: 0 / 0.7928 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.3526, allocations: 35.91 kB / 0.7929 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3526, allocations: 0 / 0.7929 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3526, allocations: 11.98 kB / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3527, allocations: 3.938 kB / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3527, allocations: 3.938 kB / 0.7929 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.3532, allocations: 346.7 kB / 0.7932 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.3533, allocations: 85.02 kB / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.3533, allocations: 4 kB / 0.7933 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.3535, allocations: 23.97 kB / 0.7933 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.343e-05/0.3536, allocations: 27.91 kB / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3536, allocations: 0 / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.572e-05/0.3537, allocations: 103.1 kB / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3537, allocations: 0 / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002719/0.354, allocations: 12 kB / 0.7935 GB, free: 5.473 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.0001934/0.3542, allocations: 118.5 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005505/0.3548, allocations: 155.8 kB / 0.7937 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3548, allocations: 0 / 0.7937 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.355, allocations: 100 kB / 0.7938 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.3554, allocations: 16 kB / 0.7938 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006099/0.3561, allocations: 217.4 kB / 0.794 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3564, allocations: 0.7004 MB / 0.7947 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.459e-05/0.3565, allocations: 19.98 kB / 0.7947 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.3566, allocations: 11.44 kB / 0.7948 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.3566, allocations: 0 / 0.7948 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of Templates: time 0.003889/0.3605, allocations: 1.057 MB / 0.7958 GB, free: 3.043 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: