Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 108.5 kB / 16.36 MB, free: 6.008 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.001515/0.001515, allocations: 196.5 kB / 17.3 MB, free: 5.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.481/1.481, allocations: 205.1 MB / 223.2 MB, free: 12.12 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.959/1.959, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001758/0.001758, allocations: 67.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2612, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001954/0.2632, allocations: 0.6743 MB / 0.7854 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009668/0.2642, allocations: 0.8281 MB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.2643, allocations: 0 / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.736e-05/0.2644, allocations: 3.938 kB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 1.963e-05/0.2644, allocations: 11.94 kB / 0.7863 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.2646, allocations: 23.92 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.266e-05/0.2646, allocations: 27.92 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2647, allocations: 15.97 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/0.2648, allocations: 8 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.2649, allocations: 19.92 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.2649, allocations: 0 / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.2649, allocations: 4 kB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.265, allocations: 15.92 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.265, allocations: 23.91 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.351e-05/0.2651, allocations: 31.89 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2651, allocations: 0 / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2651, allocations: 0 / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2651, allocations: 0 / 0.7864 GB, free: 1.461 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004665/0.2656, allocations: 351.3 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2657, allocations: 12.03 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.2657, allocations: 4.938 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.2659, allocations: 172.3 kB / 0.7869 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.2659, allocations: 8.312 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.2659, allocations: 8.375 kB / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.2661, allocations: 54.23 kB / 0.787 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.2661, allocations: 4.188 kB / 0.787 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.2661, allocations: 15.86 kB / 0.787 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2661, allocations: 0 / 0.787 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.2663, allocations: 39.95 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.2667, allocations: 284.8 kB / 0.7873 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.2669, allocations: 38.55 kB / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.407e-05/0.267, allocations: 24.91 kB / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.267, allocations: 0 / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.267, allocations: 34.56 kB / 0.7874 GB, free: 272 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.267, allocations: 0 / 0.7874 GB, free: 272 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003659/0.2674, allocations: 93.48 kB / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.2674, allocations: 55.39 kB / 0.7876 GB, free: 104 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3533/0.6208, allocations: 99.52 kB / 0.7877 GB, free: 49.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.6208, allocations: 28.14 kB / 0.7877 GB, free: 49.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.6209, allocations: 91.3 kB / 0.7878 GB, free: 49.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.6209, allocations: 7.844 kB / 0.7878 GB, free: 49.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.621, allocations: 18.48 kB / 0.7878 GB, free: 49.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.621, allocations: 315.4 kB / 0.7881 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.6212, allocations: 25.69 kB / 0.7881 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.272e-05/0.6213, allocations: 19.23 kB / 0.7882 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.6214, allocations: 43.61 kB / 0.7882 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.6214, allocations: 0.9375 kB / 0.7882 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002137/0.6217, allocations: 71.97 kB / 0.7883 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.6217, allocations: 6.031 kB / 0.7883 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6217, allocations: 3.094 kB / 0.7883 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.6217, allocations: 2.625 kB / 0.7883 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.6218, allocations: 8.203 kB / 0.7883 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.6219, allocations: 0 / 0.7883 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.686e-05/0.6219, allocations: 4.5 kB / 0.7883 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.6219, allocations: 2.625 kB / 0.7883 GB, free: 48.98 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * 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 0.000134/0.6221, allocations: 118.3 kB / 0.7884 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.6221, allocations: 2.062 kB / 0.7884 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.6221, allocations: 9.344 kB / 0.7884 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.6221, allocations: 7.766 kB / 0.7884 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6222, allocations: 0.6875 kB / 0.7884 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6222, allocations: 3.234 kB / 0.7884 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.6223, allocations: 159.5 kB / 0.7886 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6223, allocations: 0 / 0.7886 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.6224, allocations: 13.72 kB / 0.7886 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.6224, allocations: 1.938 kB / 0.7886 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.6224, allocations: 3.188 kB / 0.7886 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.6224, allocations: 3.938 kB / 0.7886 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6224, allocations: 0 / 0.7886 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.6226, allocations: 171.2 kB / 0.7888 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.6227, allocations: 77.11 kB / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.6227, allocations: 5.906 kB / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.6228, allocations: 6.375 kB / 0.7889 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.6228, allocations: 9.984 kB / 0.7889 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.6229, allocations: 0.5312 kB / 0.7889 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.327e-05/0.6229, allocations: 88.05 kB / 0.7889 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6229, allocations: 0.5625 kB / 0.7889 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002228/0.6231, allocations: 5.344 kB / 0.789 GB, free: 48.37 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * 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 9.659e-05/0.6232, allocations: 103.8 kB / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.6234, allocations: 47.83 kB / 0.7891 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6235, allocations: 0 / 0.7891 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.6235, allocations: 21.41 kB / 0.7891 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.6238, allocations: 7.391 kB / 0.7891 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.6241, allocations: 114 kB / 0.7892 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.6242, allocations: 0.6857 MB / 0.7899 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.6243, allocations: 5.188 kB / 0.7899 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.6243, allocations: 7.438 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6243, allocations: 2.75 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.0027/0.627, allocations: 0.6037 MB / 0.7905 GB, free: 47.48 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)