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.001541/0.001541, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001781/0.001781, allocations: 181.8 kB / 17.22 MB, free: 5.625 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.643/1.643, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.896/1.896, allocations: 292.3 MB / 0.5495 GB, free: 17.68 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.001528/0.001528, allocations: 64.47 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3152, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.002298/0.3176, allocations: 0.6377 MB / 0.7847 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3186, allocations: 0.797 MB / 0.7855 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.3187, allocations: 0 / 0.7855 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.3188, allocations: 7.938 kB / 0.7855 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 1.905e-05/0.3188, allocations: 4 kB / 0.7855 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.319, allocations: 3.984 kB / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.553e-05/0.3191, allocations: 31.92 kB / 0.7855 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3192, allocations: 7.984 kB / 0.7855 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.316e-05/0.3193, allocations: 4 kB / 0.7855 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.3193, allocations: 15.92 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.3194, allocations: 8 kB / 0.7856 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.623e-05/0.3194, allocations: 0 / 0.7856 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.3195, allocations: 15.92 kB / 0.7856 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.3195, allocations: 15.88 kB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.243e-05/0.3196, allocations: 23.89 kB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3196, allocations: 0 / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3196, allocations: 0 / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3196, allocations: 0 / 0.7856 GB, free: 2.234 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000486/0.3201, allocations: 347.7 kB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3202, allocations: 12.03 kB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.3202, allocations: 8.875 kB / 0.786 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.3204, allocations: 176.3 kB / 0.7861 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.3204, allocations: 384 / 0.7861 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.3204, allocations: 384 / 0.7861 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.3206, allocations: 58.23 kB / 0.7862 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3206, allocations: 192 / 0.7862 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3207, allocations: 3.938 kB / 0.7862 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3207, allocations: 0 / 0.7862 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.3208, allocations: 47.89 kB / 0.7862 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.3213, allocations: 268.9 kB / 0.7865 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.3214, allocations: 30.56 kB / 0.7865 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.3215, allocations: 20.84 kB / 0.7866 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.3216, allocations: 4 kB / 0.7866 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.3216, allocations: 38.55 kB / 0.7866 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 3.527e-06/0.3216, allocations: 3.984 kB / 0.7866 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0003374/0.3219, allocations: 73.66 kB / 0.7867 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.322, allocations: 51.41 kB / 0.7867 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3221, allocations: 106 kB / 0.7868 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3221, allocations: 29.7 kB / 0.7868 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.3222, allocations: 84.05 kB / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.3222, allocations: 7.922 kB / 0.7869 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.3223, allocations: 17.66 kB / 0.7869 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3225, allocations: 318.8 kB / 0.7873 GB, free: 352 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.476e-05/0.3225, allocations: 15.92 kB / 0.7873 GB, free: 336 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.2e-05/0.3226, allocations: 19.98 kB / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3228, allocations: 32.81 kB / 0.7873 GB, free: 280 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3228, allocations: 4 kB / 0.7873 GB, free: 276 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001655/0.3229, allocations: 61.58 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.323, allocations: 7.984 kB / 0.7874 GB, free: 200 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.323, allocations: 4.094 kB / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.323, allocations: 0 / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.3231, allocations: 4 kB / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3231, allocations: 0 / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.3232, allocations: 7.984 kB / 0.7874 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.3232, allocations: 7.938 kB / 0.7874 GB, free: 176 kB / 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: 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.0001048/0.3233, allocations: 113.8 kB / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.3233, allocations: 256 / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.3234, allocations: 15.11 kB / 0.7875 GB, free: 36 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3234, allocations: 0 / 0.7875 GB, free: 36 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.3234, allocations: 4 kB / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3234, allocations: 0 / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.587/0.9104, allocations: 161 kB / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.9105, allocations: 0.6562 kB / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.9106, allocations: 7.656 kB / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.9106, allocations: 0 / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.9106, allocations: 0 / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.9106, allocations: 2.031 kB / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.9106, allocations: 4.469 kB / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.9109, allocations: 157.7 kB / 0.7879 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.911, allocations: 78.7 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.911, allocations: 3.312 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.9111, allocations: 6.047 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.9111, allocations: 5.625 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.9111, allocations: 1.219 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.187e-05/0.9112, allocations: 86.28 kB / 0.788 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.9112, allocations: 1.5 kB / 0.788 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002557/0.9114, allocations: 5.844 kB / 0.788 GB, free: 48.16 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: 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.0001531/0.9116, allocations: 101.3 kB / 0.7881 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.9118, allocations: 36.94 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9118, allocations: 0 / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.219e-05/0.9119, allocations: 17.95 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.9123, allocations: 9.781 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.9126, allocations: 97.41 kB / 0.7883 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.9128, allocations: 0.6817 MB / 0.789 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.9128, allocations: 4.844 kB / 0.789 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.9128, allocations: 7.438 kB / 0.789 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.9129, allocations: 0.5938 kB / 0.789 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of Templates: time 0.002818/0.9157, allocations: 422.5 kB / 0.7894 GB, free: 47.28 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)