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.003688/0.003687, allocations: 357.2 kB / 16.59 MB, free: 5.566 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.456/1.456, allocations: 165.8 MB / 183.1 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.933/3.933, allocations: 410.7 MB / 0.6001 GB, free: 15.1 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.001678/0.001678, allocations: 191.1 kB / 0.6668 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004596, allocations: 19.94 kB / 0.7429 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4019, allocations: 67.43 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002179/0.4042, allocations: 1.459 MB / 0.8102 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.4059, allocations: 0.8523 MB / 0.811 GB, free: 26.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.406, allocations: 3.938 kB / 0.811 GB, free: 26.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.4067, allocations: 150.5 kB / 0.8111 GB, free: 26.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.407, allocations: 91.64 kB / 0.8112 GB, free: 26.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.4075, allocations: 116.6 kB / 0.8113 GB, free: 26.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.4077, allocations: 147.6 kB / 0.8115 GB, free: 25.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.4078, allocations: 21.12 kB / 0.8115 GB, free: 25.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.408, allocations: 55.75 kB / 0.8116 GB, free: 25.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.4081, allocations: 67.75 kB / 0.8116 GB, free: 25.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.4081, allocations: 0 / 0.8116 GB, free: 25.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.4083, allocations: 47.84 kB / 0.8117 GB, free: 25.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-05/0.4084, allocations: 35.91 kB / 0.8117 GB, free: 25.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.4084, allocations: 49.58 kB / 0.8117 GB, free: 25.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.4086, allocations: 153.8 kB / 0.8119 GB, free: 25.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4087, allocations: 0 / 0.8119 GB, free: 25.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4087, allocations: 0 / 0.8119 GB, free: 25.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.4087, allocations: 3.938 kB / 0.8119 GB, free: 25.55 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.0006839/0.4094, allocations: 472.3 kB / 0.8123 GB, free: 25.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4094, allocations: 11.97 kB / 0.8124 GB, free: 25.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.4095, allocations: 19.72 kB / 0.8124 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.4099, allocations: 239.7 kB / 0.8126 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.41, allocations: 0 / 0.8126 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.41, allocations: 7.953 kB / 0.8126 GB, free: 24.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.4103, allocations: 97.55 kB / 0.8127 GB, free: 24.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4103, allocations: 0 / 0.8127 GB, free: 24.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.4103, allocations: 3.938 kB / 0.8127 GB, free: 24.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.4104, allocations: 7.984 kB / 0.8127 GB, free: 24.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.4105, allocations: 39.92 kB / 0.8128 GB, free: 24.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006655/0.4112, allocations: 348.6 kB / 0.8131 GB, free: 24.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.4115, allocations: 78.67 kB / 0.8132 GB, free: 24.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.781e-05/0.4116, allocations: 36.78 kB / 0.8132 GB, free: 24.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.4116, allocations: 0 / 0.8132 GB, free: 24.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.4118, allocations: 79.38 kB / 0.8133 GB, free: 23.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/0.4118, allocations: 0 / 0.8133 GB, free: 23.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004323/0.4123, allocations: 149.4 kB / 0.8134 GB, free: 23.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.4123, allocations: 77.11 kB / 0.8135 GB, free: 23.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.4127, allocations: 263 kB / 0.8137 GB, free: 23.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4127, allocations: 29.7 kB / 0.8138 GB, free: 23.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.4128, allocations: 120 kB / 0.8139 GB, free: 23.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.4128, allocations: 23.66 kB / 0.8139 GB, free: 23.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.4128, allocations: 0 / 0.8139 GB, free: 23.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.4129, allocations: 334.8 kB / 0.8142 GB, free: 22.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.223e-05/0.413, allocations: 28 kB / 0.8143 GB, free: 22.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.4131, allocations: 59.69 kB / 0.8143 GB, free: 22.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.4133, allocations: 35.95 kB / 0.8143 GB, free: 22.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4133, allocations: 4 kB / 0.8143 GB, free: 22.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002669/0.4135, allocations: 109.4 kB / 0.8145 GB, free: 22.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.4136, allocations: 10.86 kB / 0.8145 GB, free: 22.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4136, allocations: 4 kB / 0.8145 GB, free: 22.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4136, allocations: 0 / 0.8145 GB, free: 22.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.4137, allocations: 12 kB / 0.8145 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4138, allocations: 0 / 0.8145 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.4139, allocations: 8.109 kB / 0.8145 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.4139, allocations: 7.938 kB / 0.8145 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.000142/0.4141, allocations: 141.8 kB / 0.8146 GB, free: 22.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.4141, allocations: 27.75 kB / 0.8147 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.4142, allocations: 21.41 kB / 0.8147 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4142, allocations: 0 / 0.8147 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4142, allocations: 3.984 kB / 0.8147 GB, free: 22.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.4143, allocations: 88.92 kB / 0.8148 GB, free: 22.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.4143, allocations: 8 kB / 0.8148 GB, free: 22.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.4144, allocations: 7.969 kB / 0.8148 GB, free: 22.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.4145, allocations: 4 kB / 0.8148 GB, free: 22.32 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003094/0.4148, allocations: 192.8 kB / 0.815 GB, free: 22.12 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002995/0.4151, allocations: 286.6 kB / 0.8152 GB, free: 21.82 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001054/0.4152, allocations: 32.3 kB / 0.8153 GB, free: 21.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002221/0.4154, allocations: 200.3 kB / 0.8155 GB, free: 21.6 MB / 378.7 MB Notification: Performance of Backend: time 1.493e-06/0.4155, allocations: 0 / 0.8155 GB, free: 21.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.4171, allocations: 474.2 kB / 0.8159 GB, free: 21.29 MB / 378.7 MB Notification: Performance of SimCode: time 0.0008104/0.4179, allocations: 0.7495 MB / 0.8166 GB, free: 20.5 MB / 378.7 MB Notification: Performance of Templates: time 0.007136/0.4251, allocations: 2.18 MB / 0.8188 GB, free: 18.34 MB / 378.7 MB