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.001431/0.001431, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002125/0.002124, allocations: 189.5 kB / 16.25 MB, free: 6.621 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.776/1.776, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.858/1.858, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001426/0.001426, allocations: 69.89 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3197, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.002312/0.3221, allocations: 0.7271 MB / 0.7836 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3234, allocations: 0.8293 MB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.3235, allocations: 0 / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.3236, allocations: 7.875 kB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.194e-05/0.3236, allocations: 0 / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.3238, allocations: 23.97 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.506e-05/0.3239, allocations: 27.92 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3241, allocations: 11.98 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.3241, allocations: 12 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.3242, allocations: 23.91 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.3242, allocations: 0 / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.3243, allocations: 4 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.3243, allocations: 15.92 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.3244, allocations: 15.88 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.3245, allocations: 39.88 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3245, allocations: 0 / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3245, allocations: 0 / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3245, allocations: 0 / 0.7846 GB, free: 12.15 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.0006568/0.3252, allocations: 351.7 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3252, allocations: 12.02 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.3253, allocations: 8.844 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.3255, allocations: 168.4 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3255, allocations: 12.25 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.3255, allocations: 4.375 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.3258, allocations: 62.22 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3258, allocations: 192 / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3258, allocations: 11.94 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3258, allocations: 3.984 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.326, allocations: 47.89 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.3265, allocations: 276.7 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.3267, allocations: 38.56 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.419e-05/0.3268, allocations: 32.83 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3268, allocations: 0 / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3269, allocations: 30.56 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3269, allocations: 0 / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003711/0.3272, allocations: 93.64 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.3274, allocations: 51.41 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.918e-05/0.3275, allocations: 105.8 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3275, allocations: 25.7 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.3277, allocations: 87.98 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.3277, allocations: 7.984 kB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.3277, allocations: 13.72 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3279, allocations: 322.9 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.758e-05/0.328, allocations: 23.91 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.3281, allocations: 19.98 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.3282, allocations: 40.81 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3283, allocations: 0 / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002013/0.3285, allocations: 77.62 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3285, allocations: 4 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3285, allocations: 7.938 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3285, allocations: 0 / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3286, allocations: 7.984 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3287, allocations: 256 / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.3287, allocations: 7.938 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3287, allocations: 4 kB / 0.7864 GB, free: 10 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.3289, allocations: 122.5 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.329, allocations: 4 kB / 0.7866 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.329, allocations: 7.125 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.329, allocations: 0 / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.329, allocations: 0 / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.329, allocations: 0 / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.3292, allocations: 165.6 kB / 0.7867 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3292, allocations: 0 / 0.7867 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.3293, allocations: 15.98 kB / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3293, allocations: 3.938 kB / 0.7867 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3293, allocations: 0 / 0.7867 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3293, allocations: 0 / 0.7867 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3293, allocations: 0 / 0.7867 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.3296, allocations: 167.5 kB / 0.7869 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.3297, allocations: 93.03 kB / 0.787 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.3297, allocations: 3.938 kB / 0.787 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.3298, allocations: 4 kB / 0.787 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.3299, allocations: 7.984 kB / 0.787 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.3299, allocations: 0 / 0.787 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.33, allocations: 83.28 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.33, allocations: 0 / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002145/0.3302, allocations: 4 kB / 0.7871 GB, free: 9.234 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 (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.000181/0.3304, allocations: 107.2 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.3306, allocations: 47.89 kB / 0.7872 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3307, allocations: 0 / 0.7872 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.248e-05/0.3307, allocations: 15.98 kB / 0.7872 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.331, allocations: 11.23 kB / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.3315, allocations: 137.6 kB / 0.7874 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.3319, allocations: 0.6807 MB / 0.7881 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.259e-05/0.332, allocations: 7.938 kB / 0.7881 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.332, allocations: 7.438 kB / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.332, allocations: 0 / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of Templates: time 0.003383/0.3354, allocations: 0.5496 MB / 0.7886 GB, free: 7.617 MB / 0.6075 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)