Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.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.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 188.4 kB / 16.62 MB, free: 6.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.607/1.607, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.893/1.893, allocations: 292.3 MB / 0.5489 GB, free: 12.76 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.002286/0.002286, allocations: 71.86 kB / 0.6723 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3479, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.003083/0.3511, allocations: 0.6464 MB / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3524, allocations: 0.7893 MB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.3525, allocations: 4 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.3527, allocations: 0 / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.586e-05/0.3527, allocations: 7.922 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.3529, allocations: 11.98 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.779e-05/0.353, allocations: 31.86 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3531, allocations: 4 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.505e-05/0.3532, allocations: 7.984 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.3532, allocations: 7.938 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3533, allocations: 4 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.3533, allocations: 0 / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.18e-05/0.3533, allocations: 11.98 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.3534, allocations: 11.94 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.3535, allocations: 35.88 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3535, allocations: 0 / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3535, allocations: 0 / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.3536, allocations: 4 kB / 0.7857 GB, free: 11.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005353/0.3541, allocations: 343.3 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3541, allocations: 12.03 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.3542, allocations: 0.9375 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.3544, allocations: 176.2 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3544, allocations: 4.375 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.3544, allocations: 8.375 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.3546, allocations: 50.23 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3546, allocations: 192 / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.3547, allocations: 3.938 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3547, allocations: 4 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.3549, allocations: 43.94 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.3554, allocations: 276.8 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.3555, allocations: 34.55 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.153e-05/0.3556, allocations: 20.91 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.3557, allocations: 4 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3557, allocations: 34.56 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.3557, allocations: 0 / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0004403/0.3561, allocations: 81.48 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.3562, allocations: 55.34 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3563, allocations: 101.9 kB / 0.7869 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3564, allocations: 25.7 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.3564, allocations: 88.25 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.3565, allocations: 7.938 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.3565, allocations: 13.72 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3567, allocations: 314.8 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.3568, allocations: 15.98 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.3568, allocations: 15.97 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.357, allocations: 40.89 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.357, allocations: 0 / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002052/0.3572, allocations: 69.5 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3572, allocations: 4 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3573, allocations: 3.938 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.3573, allocations: 0 / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.3574, allocations: 11.98 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3574, allocations: 4.031 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.3574, allocations: 4 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3575, allocations: 0 / 0.7875 GB, free: 9.086 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.000106/0.3576, allocations: 114.4 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.3576, allocations: 4 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.3577, allocations: 7.125 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3577, allocations: 0 / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3577, allocations: 0 / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3577, allocations: 4 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.3579, allocations: 165.6 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3579, allocations: 0 / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.3579, allocations: 4 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3579, allocations: 0 / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.3579, allocations: 0 / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.358, allocations: 0 / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.358, allocations: 0 / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.3582, allocations: 167.4 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.3583, allocations: 81.02 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3583, allocations: 4.234 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.3584, allocations: 8 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.3584, allocations: 4 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3584, allocations: 4 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.3585, allocations: 83.27 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3585, allocations: 4.031 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002185/0.3587, allocations: 4 kB / 0.7881 GB, free: 8.344 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001535/0.3589, allocations: 95.25 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.3591, allocations: 39.89 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3591, allocations: 3.938 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/0.3592, allocations: 16.05 kB / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.3596, allocations: 12 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.3599, allocations: 109.5 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3603, allocations: 0.6768 MB / 0.789 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.459e-05/0.3603, allocations: 7.984 kB / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.3604, allocations: 11.38 kB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3604, allocations: 0 / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of Templates: time 0.003175/0.3635, allocations: 429.8 kB / 0.7894 GB, free: 6.902 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)