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.001184/0.001184, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001255/0.001255, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.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.771/1.771, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.000524/0.0005243, allocations: 20.75 kB / 0.6736 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2803, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.0009847/0.2813, allocations: 397.5 kB / 0.7875 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2824, allocations: 0.8216 MB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.2824, allocations: 3.938 kB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.016e-05/0.2825, allocations: 0 / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.62e-05/0.2826, allocations: 0 / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.2827, allocations: 15.97 kB / 0.7883 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.059e-05/0.2828, allocations: 23.92 kB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.2829, allocations: 8 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.325e-05/0.283, allocations: 15.97 kB / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.283, allocations: 11.92 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2831, allocations: 0 / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.2831, allocations: 4 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.2831, allocations: 11.98 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.2832, allocations: 29.64 kB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.37e-05/0.2832, allocations: 27.89 kB / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.2833, allocations: 0 / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2833, allocations: 0 / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.2833, allocations: 0 / 0.7884 GB, free: 10.61 MB / 0.6075 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.0004975/0.2838, allocations: 359.5 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2838, allocations: 8.031 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.2839, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.284, allocations: 182.9 kB / 0.789 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.2841, allocations: 4 kB / 0.789 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2841, allocations: 4 kB / 0.789 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.2843, allocations: 69.67 kB / 0.789 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2843, allocations: 0 / 0.789 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.2843, allocations: 0 / 0.789 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2843, allocations: 0 / 0.789 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.2845, allocations: 63.89 kB / 0.7891 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.2849, allocations: 272.8 kB / 0.7894 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.2851, allocations: 46.5 kB / 0.7894 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.2851, allocations: 0 / 0.7894 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.2852, allocations: 42.61 kB / 0.7895 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2852, allocations: 0 / 0.7895 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003923/0.2856, allocations: 105.5 kB / 0.7896 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.2856, allocations: 51.41 kB / 0.7896 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.493e-05/0.2857, allocations: 109.8 kB / 0.7897 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.2857, allocations: 25.7 kB / 0.7897 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.2858, allocations: 88.02 kB / 0.7898 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.2858, allocations: 7.906 kB / 0.7898 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.2858, allocations: 128 / 0.7898 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2859, allocations: 322.8 kB / 0.7901 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-05/0.286, allocations: 27.91 kB / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-05/0.2861, allocations: 23.92 kB / 0.7902 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.708e-05/0.2862, allocations: 32.03 kB / 0.7902 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2862, allocations: 0 / 0.7902 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002043/0.2864, allocations: 77.66 kB / 0.7903 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2864, allocations: 8.031 kB / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2865, allocations: 0 / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2865, allocations: 0 / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2866, allocations: 15.98 kB / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2866, allocations: 0 / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.2867, allocations: 8 kB / 0.7903 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.2867, allocations: 3.953 kB / 0.7903 GB, free: 8.473 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.2868, allocations: 117.8 kB / 0.7904 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.2869, allocations: 4.156 kB / 0.7904 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.2869, allocations: 11.12 kB / 0.7904 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2869, allocations: 3.938 kB / 0.7905 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2869, allocations: 4 kB / 0.7905 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2869, allocations: 0 / 0.7905 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.2871, allocations: 165.6 kB / 0.7906 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2871, allocations: 0 / 0.7906 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.2872, allocations: 11.98 kB / 0.7906 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2872, allocations: 4 kB / 0.7906 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.2872, allocations: 0 / 0.7906 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2872, allocations: 4 kB / 0.7906 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2872, allocations: 0 / 0.7906 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.2875, allocations: 179.5 kB / 0.7908 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.2875, allocations: 81.09 kB / 0.7909 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.2876, allocations: 4 kB / 0.7909 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.2877, allocations: 8 kB / 0.7909 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.2877, allocations: 3.984 kB / 0.7909 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.2877, allocations: 3.938 kB / 0.7909 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.2878, allocations: 87.27 kB / 0.791 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2878, allocations: 7.969 kB / 0.791 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002135/0.288, allocations: 8 kB / 0.791 GB, free: 7.68 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001154/0.2881, allocations: 95.25 kB / 0.7911 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.2884, allocations: 51.95 kB / 0.7911 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2884, allocations: 0 / 0.7911 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.2885, allocations: 27.98 kB / 0.7912 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.2887, allocations: 7.891 kB / 0.7912 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.289, allocations: 144.7 kB / 0.7913 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.2893, allocations: 0.6809 MB / 0.792 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.2893, allocations: 7.875 kB / 0.792 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.2894, allocations: 15.42 kB / 0.792 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2894, allocations: 0 / 0.792 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of Templates: time 0.002479/0.2919, allocations: 0.4973 MB / 0.7925 GB, free: 6.102 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: