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.001624/0.001624, allocations: 106.1 kB / 16.36 MB, free: 6.301 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.001822/0.001822, allocations: 192 kB / 17.29 MB, free: 5.875 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.429/1.429, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.756/1.756, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001605/0.001605, allocations: 75.02 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2242, allocations: 114.5 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00254/0.2267, allocations: 0.6701 MB / 0.7854 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.2279, allocations: 0.832 MB / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.228, allocations: 0 / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.2281, allocations: 7.938 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.169e-05/0.2282, allocations: 0 / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.2283, allocations: 23.86 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.2285, allocations: 75.88 kB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.2286, allocations: 31.98 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.2287, allocations: 43.83 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.2288, allocations: 35.84 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.2289, allocations: 8 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.532e-05/0.2289, allocations: 4 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.229, allocations: 35.89 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.2291, allocations: 27.88 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.2292, allocations: 95.61 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2292, allocations: 4 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2293, allocations: 0 / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.2293, allocations: 4 kB / 0.7866 GB, free: 1.223 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.0006585/0.2299, allocations: 395.2 kB / 0.787 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.23, allocations: 12.03 kB / 0.787 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.23, allocations: 8.844 kB / 0.787 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.2302, allocations: 188.2 kB / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.2303, allocations: 12.36 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.2303, allocations: 4.375 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/0.2307, allocations: 155.8 kB / 0.7874 GB, free: 372 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2307, allocations: 192 / 0.7874 GB, free: 372 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2307, allocations: 7.938 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2307, allocations: 0 / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.2312, allocations: 163.7 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3868/0.618, allocations: 447.1 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.6184, allocations: 114.1 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.6186, allocations: 77.56 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.6186, allocations: 3.969 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.6186, allocations: 42.95 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 2.264e-06/0.6186, allocations: 0 / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0007109/0.6193, allocations: 226 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.6194, allocations: 77.89 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/0.6195, allocations: 128.9 kB / 0.7886 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.6195, allocations: 29.42 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.6195, allocations: 95.73 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.6196, allocations: 7.375 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.6196, allocations: 25.88 kB / 0.7888 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.408e-05/0.6197, allocations: 318 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.6199, allocations: 64.91 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.6201, allocations: 74.36 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.6204, allocations: 134.2 kB / 0.7893 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6204, allocations: 7.031 kB / 0.7893 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004273/0.6208, allocations: 159.6 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.6209, allocations: 7.969 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.6209, allocations: 2.625 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.6209, allocations: 4.062 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.6211, allocations: 20.95 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6211, allocations: 2.625 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.6212, allocations: 19.08 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.6212, allocations: 2.625 kB / 0.7895 GB, free: 47.72 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.962e-05/0.6213, allocations: 134.3 kB / 0.7897 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.6214, allocations: 7.594 kB / 0.7897 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.6214, allocations: 15.06 kB / 0.7897 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6214, allocations: 2.719 kB / 0.7897 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6214, allocations: 2.656 kB / 0.7897 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6214, allocations: 0 / 0.7897 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.6216, allocations: 195 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.6216, allocations: 0 / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.6218, allocations: 22.64 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6218, allocations: 4.219 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.6218, allocations: 5.297 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.6218, allocations: 4.562 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6218, allocations: 0 / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.6222, allocations: 332.1 kB / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.6223, allocations: 84.64 kB / 0.7903 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.6223, allocations: 9.578 kB / 0.7903 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.6225, allocations: 16.28 kB / 0.7903 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.6225, allocations: 24.58 kB / 0.7904 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.6226, allocations: 3.531 kB / 0.7904 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.6226, allocations: 97.09 kB / 0.7905 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6226, allocations: 0.5312 kB / 0.7905 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002642/0.6229, allocations: 13.61 kB / 0.7905 GB, free: 47.03 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 9.986e-05/0.623, allocations: 105.8 kB / 0.7906 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.6234, allocations: 137.7 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6234, allocations: 0.625 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.6237, allocations: 85.05 kB / 0.7908 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.624, allocations: 17.84 kB / 0.7908 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.6245, allocations: 221.1 kB / 0.791 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.6246, allocations: 0.6991 MB / 0.7917 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.6247, allocations: 16.73 kB / 0.7917 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6247, allocations: 0.6562 kB / 0.7917 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of Templates: time 0.002589/0.6273, allocations: 1.219 MB / 0.7929 GB, free: 46.06 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)