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.001468/0.001471, allocations: 183 kB / 15.76 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.792/0.792, allocations: 82.92 MB / 99.42 MB, free: 3.391 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 325.4 MB, free: 3.586 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 89.84 kB / 393.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004625, allocations: 16 kB / 471.5 MB, free: 66.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09086, allocations: 67.45 MB / 0.5263 GB, free: 15.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002402/0.09331, allocations: 1.448 MB / 0.5278 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.09514, allocations: 0.863 MB / 0.5286 GB, free: 12.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.09528, allocations: 0 / 0.5286 GB, free: 12.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006521/0.09595, allocations: 147.6 kB / 0.5287 GB, free: 12.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.09629, allocations: 87.81 kB / 0.5288 GB, free: 12.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.09687, allocations: 121.3 kB / 0.5289 GB, free: 12.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.0971, allocations: 103.8 kB / 0.529 GB, free: 12.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.09722, allocations: 21.11 kB / 0.5291 GB, free: 12.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.09736, allocations: 59.75 kB / 0.5291 GB, free: 12.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.09749, allocations: 59.77 kB / 0.5292 GB, free: 12.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.09753, allocations: 4 kB / 0.5292 GB, free: 12.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.0977, allocations: 39.91 kB / 0.5292 GB, free: 12.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.09778, allocations: 35.84 kB / 0.5293 GB, free: 12.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.123e-05/0.09786, allocations: 45.64 kB / 0.5293 GB, free: 12.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.09813, allocations: 144 kB / 0.5294 GB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.621e-06/0.09815, allocations: 0 / 0.5294 GB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.026e-06/0.09816, allocations: 4 kB / 0.5294 GB, free: 11.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.97e-06/0.09818, allocations: 4 kB / 0.5294 GB, free: 11.93 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.0007622/0.09895, allocations: 480.2 kB / 0.5299 GB, free: 11.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.09901, allocations: 8.031 kB / 0.5299 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.09908, allocations: 19.75 kB / 0.5299 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.09947, allocations: 239.7 kB / 0.5302 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.09951, allocations: 4 kB / 0.5302 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.09954, allocations: 7.953 kB / 0.5302 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.09979, allocations: 99.25 kB / 0.5303 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.87e-06/0.09982, allocations: 0 / 0.5303 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.09984, allocations: 0 / 0.5303 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.09987, allocations: 4 kB / 0.5303 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.1, allocations: 35.92 kB / 0.5303 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.1007, allocations: 360.7 kB / 0.5306 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.101, allocations: 74.72 kB / 0.5307 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.101, allocations: 3.938 kB / 0.5307 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.1012, allocations: 79.44 kB / 0.5308 GB, free: 10.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.746e-06/0.1012, allocations: 0 / 0.5308 GB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004798/0.1017, allocations: 226.6 kB / 0.531 GB, free: 10.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.1018, allocations: 81.11 kB / 0.5311 GB, free: 10.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.1022, allocations: 266.9 kB / 0.5313 GB, free: 9.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1022, allocations: 25.7 kB / 0.5314 GB, free: 9.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1024, allocations: 116.1 kB / 0.5315 GB, free: 9.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.1024, allocations: 23.64 kB / 0.5315 GB, free: 9.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-06/0.1024, allocations: 4 kB / 0.5315 GB, free: 9.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1026, allocations: 330.8 kB / 0.5318 GB, free: 9.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.509e-05/0.1027, allocations: 35.94 kB / 0.5319 GB, free: 9.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1029, allocations: 55.41 kB / 0.5319 GB, free: 9.141 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.103, allocations: 35.98 kB / 0.5319 GB, free: 9.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.857e-06/0.103, allocations: 0 / 0.5319 GB, free: 9.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004623/0.1035, allocations: 109.8 kB / 0.532 GB, free: 8.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.1035, allocations: 7.984 kB / 0.5321 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.1036, allocations: 15.98 kB / 0.5321 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1036, allocations: 0 / 0.5321 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.1038, allocations: 8 kB / 0.5321 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.357e-06/0.1038, allocations: 3.938 kB / 0.5321 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.259e-05/0.1039, allocations: 8 kB / 0.5321 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.1039, allocations: 3.984 kB / 0.5321 GB, free: 8.945 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.0001822/0.1041, allocations: 150.3 kB / 0.5322 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.1042, allocations: 11.81 kB / 0.5322 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.1042, allocations: 21.41 kB / 0.5323 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.1043, allocations: 7.984 kB / 0.5323 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.851e-06/0.1043, allocations: 0 / 0.5323 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.49e-06/0.1043, allocations: 0 / 0.5323 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.1046, allocations: 233.4 kB / 0.5325 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-06/0.1046, allocations: 3.938 kB / 0.5325 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.1047, allocations: 4 kB / 0.5325 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.344e-06/0.1047, allocations: 0 / 0.5325 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1047, allocations: 4 kB / 0.5325 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.437e-06/0.1047, allocations: 0 / 0.5325 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.787e-06/0.1047, allocations: 4 kB / 0.5325 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.1051, allocations: 144.8 kB / 0.5327 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/0.1052, allocations: 96.88 kB / 0.5327 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.1052, allocations: 3.984 kB / 0.5327 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.1053, allocations: 8 kB / 0.5328 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.1054, allocations: 7.984 kB / 0.5328 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1054, allocations: 0 / 0.5328 GB, free: 8.164 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002666/0.1057, allocations: 196.4 kB / 0.5329 GB, free: 7.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.08e-07/0.1057, allocations: 0 / 0.5329 GB, free: 7.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003428/0.1061, allocations: 31.98 kB / 0.533 GB, free: 7.941 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.00147/0.1075, allocations: 432.3 kB / 0.5334 GB, free: 7.645 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.1078, allocations: 67.91 kB / 0.5335 GB, free: 7.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.097e-06/0.1079, allocations: 4.062 kB / 0.5335 GB, free: 7.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.108, allocations: 43.92 kB / 0.5335 GB, free: 7.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.1083, allocations: 31.97 kB / 0.5335 GB, free: 7.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/0.109, allocations: 310.2 kB / 0.5338 GB, free: 7.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.1095, allocations: 0.7282 MB / 0.5345 GB, free: 6.422 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.1096, allocations: 25.72 kB / 0.5346 GB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.1096, allocations: 19.44 kB / 0.5346 GB, free: 6.379 MB / 378.7 MB Notification: Performance of SimCode: time 1.555e-06/0.1097, allocations: 0 / 0.5346 GB, free: 6.379 MB / 378.7 MB Notification: Performance of Templates: time 0.007177/0.1168, allocations: 2.121 MB / 0.5367 GB, free: 4.273 MB / 378.7 MB