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.001166/0.001166, allocations: 108.4 kB / 16.37 MB, free: 6.477 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.001203/0.001203, allocations: 185.8 kB / 17.31 MB, free: 5.824 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.375/1.375, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.845/1.845, allocations: 292.3 MB / 0.5496 GB, free: 17.36 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.001404/0.001404, allocations: 72.12 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2075, allocations: 114.5 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001814/0.2094, allocations: 0.67 MB / 0.7855 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009114/0.2103, allocations: 0.8242 MB / 0.7863 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.2104, allocations: 0 / 0.7863 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.52e-05/0.2105, allocations: 7.922 kB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 1.682e-05/0.2105, allocations: 7.938 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.2107, allocations: 19.98 kB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.738e-05/0.2107, allocations: 31.92 kB / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.2108, allocations: 8 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/0.2109, allocations: 19.91 kB / 0.7864 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.211, allocations: 15.92 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.211, allocations: 4 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.211, allocations: 4 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.2111, allocations: 11.98 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.2111, allocations: 11.94 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.25e-05/0.2112, allocations: 47.73 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2112, allocations: 0 / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2112, allocations: 0 / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2112, allocations: 4 kB / 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.0004476/0.2117, allocations: 351.3 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2117, allocations: 8.031 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.2117, allocations: 4.938 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.2119, allocations: 176.3 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.2119, allocations: 4.375 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.2119, allocations: 4.375 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.2121, allocations: 62.22 kB / 0.787 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2121, allocations: 192 / 0.787 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2121, allocations: 3.938 kB / 0.787 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2121, allocations: 0 / 0.787 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.2123, allocations: 47.89 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.2127, allocations: 276.8 kB / 0.7873 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.2129, allocations: 50.48 kB / 0.7874 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.213, allocations: 20.89 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.213, allocations: 4 kB / 0.7874 GB, free: 320 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.213, allocations: 38.56 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.213, allocations: 0 / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003538/0.2134, allocations: 85.55 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2134, allocations: 55.41 kB / 0.7876 GB, free: 112 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3429/0.5564, allocations: 102 kB / 0.7877 GB, free: 0 / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.5564, allocations: 26.67 kB / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.5565, allocations: 90.53 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.5565, allocations: 10.44 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.5566, allocations: 17.14 kB / 0.7878 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.5566, allocations: 319.4 kB / 0.7881 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.5568, allocations: 22.36 kB / 0.7881 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.488e-05/0.5569, allocations: 17.11 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.557, allocations: 46.47 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.557, allocations: 0.8438 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002162/0.5573, allocations: 70.09 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.5573, allocations: 5.25 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.5573, allocations: 0 / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.5573, allocations: 2.875 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.5574, allocations: 10.55 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5575, allocations: 0 / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.5575, allocations: 9.422 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.5575, allocations: 2.531 kB / 0.7883 GB, free: 48.37 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 7.473e-05/0.5576, allocations: 119.9 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.5576, allocations: 0 / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.5577, allocations: 11.34 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5577, allocations: 0 / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.5577, allocations: 0 / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.5577, allocations: 0.5625 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.5578, allocations: 167.2 kB / 0.7886 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.5578, allocations: 0.5625 kB / 0.7886 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-05/0.5579, allocations: 12.86 kB / 0.7886 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5579, allocations: 3.922 kB / 0.7886 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.5579, allocations: 7.219 kB / 0.7886 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5579, allocations: 0.6562 kB / 0.7886 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5579, allocations: 0 / 0.7886 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.5582, allocations: 164.9 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.5582, allocations: 78.27 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.5582, allocations: 7.125 kB / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.5583, allocations: 7.188 kB / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.5584, allocations: 9.734 kB / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.5584, allocations: 2.844 kB / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.533e-05/0.5584, allocations: 83.41 kB / 0.789 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5584, allocations: 3.719 kB / 0.789 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002159/0.5586, allocations: 4.5 kB / 0.789 GB, free: 47.76 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 8.938e-05/0.5587, allocations: 105.7 kB / 0.7891 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.5589, allocations: 42.78 kB / 0.7891 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.559, allocations: 0.5 kB / 0.7891 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-05/0.559, allocations: 24.97 kB / 0.7891 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.5593, allocations: 3.938 kB / 0.7891 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.5596, allocations: 148 kB / 0.7893 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.564e-05/0.5597, allocations: 0.6797 MB / 0.7899 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.5597, allocations: 9.062 kB / 0.7899 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.5597, allocations: 0 / 0.7899 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.001699/0.5614, allocations: 0.6775 MB / 0.7906 GB, free: 46.84 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)