Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001652/0.001652, allocations: 188 kB / 16.14 MB, free: 6.66 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.736/1.736, allocations: 205.1 MB / 222 MB, free: 4.746 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.742/1.742, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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: 70.45 kB / 0.6708 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3145, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.002156/0.3167, allocations: 0.6922 MB / 0.7834 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.3187, allocations: 1.126 MB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/0.3188, allocations: 0 / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.319, allocations: 3.938 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.643e-05/0.319, allocations: 0 / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.3196, allocations: 115.3 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.3198, allocations: 79.88 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3199, allocations: 7.984 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.32, allocations: 27.92 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3201, allocations: 23.97 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.3201, allocations: 4 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3203, allocations: 27.91 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.539e-05/0.3203, allocations: 11.92 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.382e-05/0.3204, allocations: 27.92 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.3207, allocations: 83.78 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3207, allocations: 0 / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3207, allocations: 0 / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3207, allocations: 0 / 0.7848 GB, free: 11.8 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.0006673/0.3214, allocations: 385.4 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.3214, allocations: 12.03 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.3215, allocations: 4.938 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.3218, allocations: 180.3 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3218, allocations: 4.375 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.3218, allocations: 8.375 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.322, allocations: 46.25 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.322, allocations: 192 / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.322, allocations: 7.875 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.322, allocations: 4 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.003e-05/0.3221, allocations: 12 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.3225, allocations: 312.7 kB / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/0.3226, allocations: 30.45 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.3226, allocations: 8.922 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.3226, allocations: 4 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.3229, allocations: 59.3 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.3229, allocations: 0 / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002419/0.3231, allocations: 61.69 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.3232, allocations: 55.34 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3233, allocations: 109.8 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.3233, allocations: 29.7 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.3234, allocations: 100 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.3234, allocations: 8 kB / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.3235, allocations: 29.7 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3236, allocations: 314.8 kB / 0.7866 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.3237, allocations: 27.98 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.124e-05/0.3238, allocations: 50.55 kB / 0.7866 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.3239, allocations: 80.22 kB / 0.7867 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3239, allocations: 0 / 0.7867 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002445/0.3242, allocations: 151.2 kB / 0.7868 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.3242, allocations: 37.7 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3243, allocations: 0 / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3243, allocations: 0 / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.347e-05/0.3243, allocations: 4 kB / 0.7869 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3243, allocations: 0 / 0.7869 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.3246, allocations: 32.05 kB / 0.7869 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.3246, allocations: 4 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001196/0.3247, allocations: 118.4 kB / 0.787 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.3247, allocations: 4 kB / 0.787 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.3248, allocations: 8.125 kB / 0.787 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3248, allocations: 0 / 0.787 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3248, allocations: 3.984 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3248, allocations: 0 / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.325, allocations: 173.5 kB / 0.7872 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.325, allocations: 0 / 0.7872 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.325, allocations: 11.92 kB / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.325, allocations: 0 / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3251, allocations: 0 / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3251, allocations: 4.25 kB / 0.7872 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3251, allocations: 0 / 0.7872 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.3252, allocations: 85.06 kB / 0.7873 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.3253, allocations: 81.11 kB / 0.7874 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3253, allocations: 0 / 0.7874 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.515e-05/0.3253, allocations: 7.922 kB / 0.7874 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.3253, allocations: 4 kB / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3254, allocations: 0 / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.529e-05/0.3254, allocations: 83.28 kB / 0.7875 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3254, allocations: 0 / 0.7875 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002388/0.3257, allocations: 23.98 kB / 0.7875 GB, free: 8.699 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002173/0.3259, allocations: 103.2 kB / 0.7876 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.3262, allocations: 127.2 kB / 0.7877 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3262, allocations: 0 / 0.7877 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.3262, allocations: 8 kB / 0.7877 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.3265, allocations: 11.98 kB / 0.7877 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.3268, allocations: 139.8 kB / 0.7879 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.3271, allocations: 0.6848 MB / 0.7885 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.112e-05/0.3272, allocations: 4 kB / 0.7885 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.3272, allocations: 7.438 kB / 0.7886 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of SimCode: time 4.2e-07/0.3272, allocations: 3.938 kB / 0.7886 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of Templates: time 0.003457/0.3307, allocations: 1.011 MB / 0.7895 GB, free: 6.547 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)