Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001941/0.001941, allocations: 190.5 kB / 16.14 MB, free: 6.688 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.583/1.583, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 62.25 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4191, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.00199/0.4211, allocations: 0.7053 MB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.422, allocations: 0.8001 MB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.4221, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.4222, allocations: 3.938 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.57e-05/0.4223, allocations: 8 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.594e-05/0.4224, allocations: 7.984 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.4225, allocations: 67.77 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.4226, allocations: 12 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.04e-05/0.4227, allocations: 23.92 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.4228, allocations: 23.91 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.4228, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.4228, allocations: 4 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.4229, allocations: 31.84 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.4229, allocations: 31.8 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.662e-05/0.423, allocations: 55.78 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4231, allocations: 4 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4231, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.4231, allocations: 0 / 1.069 GB, free: 9.141 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005957/0.4237, allocations: 383.6 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4237, allocations: 12.03 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.4238, allocations: 8.844 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.4239, allocations: 184.3 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.424, allocations: 4.375 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.424, allocations: 8.359 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.4243, allocations: 135.8 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.4243, allocations: 192 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.4244, allocations: 3.938 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4244, allocations: 8 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.4247, allocations: 123.8 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.4254, allocations: 440.8 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.4256, allocations: 81.09 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.4258, allocations: 73.7 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.4258, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.4259, allocations: 30.56 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.4259, allocations: 0 / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000608/0.4265, allocations: 197.4 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.4265, allocations: 77.11 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.4266, allocations: 125.8 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.4267, allocations: 29.64 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.4267, allocations: 95.98 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.4268, allocations: 7.844 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.4268, allocations: 25.86 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4269, allocations: 318.8 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.4271, allocations: 51.92 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.4273, allocations: 61.66 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.4276, allocations: 113.6 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4276, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003941/0.428, allocations: 141.5 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4281, allocations: 5.406 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4281, allocations: 4 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4281, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.4282, allocations: 19.97 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.4282, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.4283, allocations: 15.92 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4283, allocations: 0 / 1.072 GB, free: 6.148 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.245e-05/0.4284, allocations: 125.9 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.4285, allocations: 7.906 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.4285, allocations: 15.52 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4285, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4285, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.4285, allocations: 3.938 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.4288, allocations: 181.6 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4288, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.4289, allocations: 19.97 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4289, allocations: 4 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.4289, allocations: 0 / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4289, allocations: 4 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4289, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.4293, allocations: 306.6 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.4294, allocations: 84.95 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.4294, allocations: 4 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.4296, allocations: 19.97 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.4296, allocations: 15.86 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.4296, allocations: 3.938 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.266e-05/0.4297, allocations: 99.58 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4297, allocations: 32 / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002579/0.43, allocations: 12 kB / 1.073 GB, free: 5.16 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001199/0.4301, allocations: 95.25 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003781/0.4305, allocations: 111.8 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4305, allocations: 0 / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.4307, allocations: 71.98 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.4311, allocations: 8.547 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.4314, allocations: 184.2 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.4317, allocations: 0.7004 MB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.916e-05/0.4317, allocations: 15.84 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.4318, allocations: 7.438 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4318, allocations: 0 / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of Templates: time 0.002724/0.4345, allocations: 0.6465 MB / 1.075 GB, free: 3.273 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)