Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.001408/0.001408, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001543/0.001543, allocations: 191.8 kB / 16.25 MB, free: 6.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.192/3.192, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.42 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3813, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002752/0.3841, allocations: 0.7405 MB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3858, allocations: 0.8313 MB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.3859, allocations: 4 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.386, allocations: 3.938 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.3862, allocations: 11.97 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.3864, allocations: 11.98 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.3866, allocations: 79.77 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.3868, allocations: 31.97 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.3869, allocations: 31.92 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.3871, allocations: 43.88 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.3872, allocations: 11.94 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.531e-05/0.3872, allocations: 7.938 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.3873, allocations: 27.97 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.753e-05/0.3874, allocations: 31.8 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.3877, allocations: 87.73 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.3877, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.408e-06/0.3878, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.3878, allocations: 4 kB / 1.07 GB, free: 8.816 MB / 0.8262 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.001201/0.389, allocations: 403.5 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.874e-05/0.3891, allocations: 8.031 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.464e-05/0.3891, allocations: 8.844 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.3896, allocations: 188.3 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.3896, allocations: 4.375 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.3897, allocations: 8.375 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.3902, allocations: 167.7 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3902, allocations: 192 / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.3902, allocations: 11.94 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3902, allocations: 0 / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.3907, allocations: 147.8 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007519/0.3915, allocations: 448.8 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.3918, allocations: 125 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.392, allocations: 73.7 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3921, allocations: 0 / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3921, allocations: 34.56 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.3921, allocations: 3.938 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0008655/0.393, allocations: 233.3 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.3931, allocations: 77.11 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.3933, allocations: 129.7 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3933, allocations: 25.7 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.569e-05/0.3934, allocations: 100.3 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.3934, allocations: 15.81 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.3935, allocations: 17.72 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3936, allocations: 318.8 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.3939, allocations: 63.86 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.3941, allocations: 85.62 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.3945, allocations: 121.6 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3945, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004631/0.395, allocations: 169.5 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.395, allocations: 9.406 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.395, allocations: 0 / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.395, allocations: 0 / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.3952, allocations: 23.97 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3952, allocations: 3.938 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.3954, allocations: 23.97 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.3954, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8262 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.0001178/0.3955, allocations: 129.8 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.3956, allocations: 7.906 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.3956, allocations: 7.531 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.3957, allocations: 7.984 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.3957, allocations: 3.938 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3957, allocations: 0 / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.396, allocations: 193.6 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.396, allocations: 8 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.3961, allocations: 23.97 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.3961, allocations: 4 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3961, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3961, allocations: 384 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3962, allocations: 3.938 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.3967, allocations: 334.6 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.3967, allocations: 89.14 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3968, allocations: 3.938 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.3969, allocations: 15.97 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.397, allocations: 27.91 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.3971, allocations: 3.984 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.806e-05/0.3971, allocations: 99.27 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3971, allocations: 0 / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000277/0.3974, allocations: 19.91 kB / 1.073 GB, free: 4.504 MB / 0.8262 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.0001581/0.3976, allocations: 99.25 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004631/0.398, allocations: 139.8 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3981, allocations: 3.938 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.3984, allocations: 87.89 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3987, allocations: 12 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/0.3993, allocations: 230 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.3998, allocations: 0.7002 MB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.869e-05/0.3999, allocations: 19.98 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.3999, allocations: 15.42 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of SimCode: time 8.11e-07/0.3999, allocations: 0 / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of Templates: time 0.004045/0.404, allocations: 1.107 MB / 1.076 GB, free: 2.047 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)