Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.236/2.236, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001376, allocations: 199.4 kB / 499.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 107.5 kB / 0.9329 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 50.27 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2647, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002426/0.2672, allocations: 0.7264 MB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2683, allocations: 0.8351 MB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.2684, allocations: 4 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.2686, allocations: 3.938 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.865e-05/0.2687, allocations: 7.984 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.2688, allocations: 16 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.2689, allocations: 75.81 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.2691, allocations: 27.98 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.203e-05/0.2692, allocations: 31.84 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.029e-05/0.2693, allocations: 31.91 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.2693, allocations: 4 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.676e-05/0.2693, allocations: 4 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.2694, allocations: 31.89 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.2694, allocations: 27.86 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.2696, allocations: 83.67 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2696, allocations: 8 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.02e-07/0.2696, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.2696, allocations: 3.938 kB / 1.22 GB, free: 115.2 MB / 0.823 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.0006574/0.2703, allocations: 402.5 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2703, allocations: 15.98 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.2704, allocations: 4.844 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.2706, allocations: 192.2 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.2706, allocations: 8.375 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.2706, allocations: 8.375 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.271, allocations: 159.8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.271, allocations: 192 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.271, allocations: 7.938 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2711, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/0.2715, allocations: 155.8 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.272, allocations: 440.7 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.2722, allocations: 121.1 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.2724, allocations: 77.69 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.2725, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.2725, allocations: 34.56 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2725, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0006728/0.2732, allocations: 229.5 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.2732, allocations: 85.14 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.567e-05/0.2733, allocations: 125.8 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.2733, allocations: 25.7 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.2734, allocations: 99.92 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2734, allocations: 19.8 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.2735, allocations: 17.75 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.488e-05/0.2735, allocations: 322.8 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.2737, allocations: 71.86 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.2739, allocations: 73.62 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.2742, allocations: 130 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2742, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003887/0.2746, allocations: 161.5 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2747, allocations: 13.39 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2747, allocations: 3.938 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2747, allocations: 4.062 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.2749, allocations: 23.97 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2749, allocations: 3.938 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.522e-05/0.275, allocations: 19.88 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.275, allocations: 8 kB / 1.223 GB, free: 112 MB / 0.823 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 7.428e-05/0.2751, allocations: 122.5 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.2751, allocations: 4 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.2751, allocations: 15.53 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2752, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2752, allocations: 7.875 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2752, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.2754, allocations: 201.5 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2754, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.2755, allocations: 19.97 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2755, allocations: 4 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/0.2756, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2756, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2756, allocations: 7.938 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007697/0.2764, allocations: 0.9614 MB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.2764, allocations: 88.94 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.2764, allocations: 4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.2766, allocations: 15.98 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.2767, allocations: 23.95 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.2767, allocations: 4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.2767, allocations: 91.27 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.2767, allocations: 8 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003527/0.2771, allocations: 11.94 kB / 1.224 GB, free: 110.2 MB / 0.823 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.0001187/0.2772, allocations: 103.2 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.2777, allocations: 143.8 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2777, allocations: 128 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.2779, allocations: 87.84 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.2782, allocations: 16.2 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.2788, allocations: 336.8 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.2789, allocations: 0.7004 MB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.318e-05/0.279, allocations: 19.98 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.279, allocations: 15.44 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of SimCode: time 3.71e-07/0.279, allocations: 0 / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of Templates: time 0.002846/0.2819, allocations: 1.102 MB / 1.227 GB, free: 107.7 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)