Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002379/0.002378, allocations: 355.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.622/1.622, allocations: 165.8 MB / 182.5 MB, free: 5.43 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.724/3.724, allocations: 410.8 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001709/0.001708, allocations: 201.5 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004821, allocations: 16 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3737, allocations: 67.45 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.001737/0.3755, allocations: 1.455 MB / 0.8096 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3769, allocations: 0.8523 MB / 0.8104 GB, free: 26.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.377, allocations: 7.938 kB / 0.8104 GB, free: 26.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005283/0.3775, allocations: 143.6 kB / 0.8105 GB, free: 26.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.3778, allocations: 87.7 kB / 0.8106 GB, free: 26.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.3782, allocations: 126.1 kB / 0.8107 GB, free: 26.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.3784, allocations: 143.6 kB / 0.8109 GB, free: 25.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.3785, allocations: 29.09 kB / 0.8109 GB, free: 25.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.3786, allocations: 55.7 kB / 0.811 GB, free: 25.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.73e-05/0.3787, allocations: 63.75 kB / 0.811 GB, free: 25.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.3787, allocations: 4 kB / 0.811 GB, free: 25.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.3789, allocations: 47.84 kB / 0.8111 GB, free: 25.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.3789, allocations: 39.89 kB / 0.8111 GB, free: 25.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.379, allocations: 49.58 kB / 0.8112 GB, free: 25.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.3792, allocations: 149.8 kB / 0.8113 GB, free: 25.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.875e-06/0.3792, allocations: 0 / 0.8113 GB, free: 25.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.698e-06/0.3792, allocations: 7.938 kB / 0.8113 GB, free: 25.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.404e-06/0.3792, allocations: 0 / 0.8113 GB, free: 25.54 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005621/0.3798, allocations: 464.3 kB / 0.8118 GB, free: 25.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3799, allocations: 12.03 kB / 0.8118 GB, free: 25.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.3799, allocations: 19.72 kB / 0.8118 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.3802, allocations: 235.8 kB / 0.812 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3802, allocations: 7.938 kB / 0.812 GB, free: 24.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.3803, allocations: 7.953 kB / 0.812 GB, free: 24.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3805, allocations: 91.38 kB / 0.8121 GB, free: 24.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3805, allocations: 7.938 kB / 0.8121 GB, free: 24.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.3806, allocations: 0 / 0.8121 GB, free: 24.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.3806, allocations: 4 kB / 0.8121 GB, free: 24.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.3808, allocations: 27.98 kB / 0.8122 GB, free: 24.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.3815, allocations: 364.5 kB / 0.8125 GB, free: 24.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.3818, allocations: 70.67 kB / 0.8126 GB, free: 24.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3819, allocations: 36.8 kB / 0.8126 GB, free: 24.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.382, allocations: 7.984 kB / 0.8126 GB, free: 24.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.3822, allocations: 79.39 kB / 0.8127 GB, free: 23.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.772e-06/0.3822, allocations: 0 / 0.8127 GB, free: 23.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004332/0.3826, allocations: 145.7 kB / 0.8128 GB, free: 23.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.3827, allocations: 77.11 kB / 0.8129 GB, free: 23.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.383, allocations: 263 kB / 0.8131 GB, free: 23.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.383, allocations: 29.64 kB / 0.8132 GB, free: 23.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.3831, allocations: 120 kB / 0.8133 GB, free: 23.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.3831, allocations: 23.66 kB / 0.8133 GB, free: 23.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-06/0.3832, allocations: 0 / 0.8133 GB, free: 23.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.3832, allocations: 342.8 kB / 0.8136 GB, free: 22.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.3833, allocations: 23.98 kB / 0.8137 GB, free: 22.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.3834, allocations: 55.42 kB / 0.8137 GB, free: 22.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.9e-05/0.3835, allocations: 35.92 kB / 0.8138 GB, free: 22.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.822e-06/0.3836, allocations: 0 / 0.8138 GB, free: 22.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002513/0.3838, allocations: 121.5 kB / 0.8139 GB, free: 22.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3839, allocations: 4 kB / 0.8139 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3839, allocations: 0 / 0.8139 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3839, allocations: 0 / 0.8139 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.384, allocations: 12 kB / 0.8139 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.384, allocations: 112 / 0.8139 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.036e-05/0.3841, allocations: 11.92 kB / 0.8139 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3841, allocations: 4 kB / 0.8139 GB, free: 22.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001308/0.3843, allocations: 153.3 kB / 0.814 GB, free: 22.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.3843, allocations: 19.75 kB / 0.8141 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.3844, allocations: 25.38 kB / 0.8141 GB, free: 22.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.3844, allocations: 4 kB / 0.8141 GB, free: 22.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.898e-06/0.3844, allocations: 0 / 0.8141 GB, free: 22.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3844, allocations: 0 / 0.8141 GB, free: 22.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.3847, allocations: 225.5 kB / 0.8143 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-06/0.3847, allocations: 0 / 0.8143 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.3847, allocations: 4 kB / 0.8143 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.46e-06/0.3847, allocations: 0 / 0.8143 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3848, allocations: 4 kB / 0.8143 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.742e-06/0.3848, allocations: 3.984 kB / 0.8143 GB, free: 22.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3848, allocations: 96 / 0.8143 GB, free: 22.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.3851, allocations: 148.8 kB / 0.8145 GB, free: 21.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.3851, allocations: 100.8 kB / 0.8146 GB, free: 21.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.3852, allocations: 8 kB / 0.8146 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.3853, allocations: 4 kB / 0.8146 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.3853, allocations: 11.98 kB / 0.8146 GB, free: 21.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3854, allocations: 4 kB / 0.8146 GB, free: 21.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.3856, allocations: 196.4 kB / 0.8148 GB, free: 21.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.14e-07/0.3856, allocations: 0 / 0.8148 GB, free: 21.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.3859, allocations: 31.98 kB / 0.8148 GB, free: 21.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001372/0.3873, allocations: 428 kB / 0.8152 GB, free: 21.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.3876, allocations: 75.92 kB / 0.8153 GB, free: 21.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.305e-06/0.3876, allocations: 0 / 0.8153 GB, free: 21.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3877, allocations: 31.98 kB / 0.8153 GB, free: 21.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3881, allocations: 35.95 kB / 0.8153 GB, free: 21.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.3886, allocations: 318.5 kB / 0.8156 GB, free: 20.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.3888, allocations: 0.7282 MB / 0.8164 GB, free: 20.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.758e-05/0.3889, allocations: 29.41 kB / 0.8164 GB, free: 20.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.389, allocations: 15.44 kB / 0.8164 GB, free: 20.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.789e-06/0.389, allocations: 0 / 0.8164 GB, free: 20.09 MB / 378.7 MB Notification: Performance of Templates: time 0.00622/0.3952, allocations: 2.107 MB / 0.8185 GB, free: 18 MB / 378.7 MB