Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.955/4.955, allocations: 0.5623 GB / 0.5775 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002525/0.002524, allocations: 359.3 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.239/4.239, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001804/0.001803, allocations: 175.9 kB / 1.226 GB, free: 35.99 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006913/0.0006917, allocations: 12 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2262, allocations: 115.3 MB / 1.461 GB, free: 6.625 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002319/0.2286, allocations: 1.47 MB / 1.463 GB, free: 5.137 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.2303, allocations: 0.852 MB / 1.464 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.2305, allocations: 0 / 1.464 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006282/0.2311, allocations: 143.7 kB / 1.464 GB, free: 4.137 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.2314, allocations: 103 kB / 1.464 GB, free: 4.039 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.2319, allocations: 115.7 kB / 1.464 GB, free: 3.926 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000217/0.2321, allocations: 155.6 kB / 1.464 GB, free: 3.773 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2323, allocations: 13.11 kB / 1.464 GB, free: 3.762 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2324, allocations: 63.7 kB / 1.464 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.2325, allocations: 63.75 kB / 1.464 GB, free: 3.637 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.2325, allocations: 4 kB / 1.464 GB, free: 3.633 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.2327, allocations: 51.89 kB / 1.464 GB, free: 3.582 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.2328, allocations: 35.84 kB / 1.464 GB, free: 3.547 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.2328, allocations: 45.64 kB / 1.464 GB, free: 3.496 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.2331, allocations: 140 kB / 1.464 GB, free: 3.359 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2331, allocations: 4 kB / 1.464 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2331, allocations: 0 / 1.464 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2331, allocations: 0 / 1.464 GB, free: 3.355 MB / 0.6042 GB 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.0007156/0.2338, allocations: 476.2 kB / 1.465 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2339, allocations: 8.031 kB / 1.465 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.234, allocations: 23.67 kB / 1.465 GB, free: 2.805 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.2343, allocations: 239.7 kB / 1.465 GB, free: 2.527 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.2343, allocations: 3.984 kB / 1.465 GB, free: 2.523 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.2344, allocations: 8 kB / 1.465 GB, free: 2.516 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.2346, allocations: 83.39 kB / 1.465 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.2346, allocations: 3.938 kB / 1.465 GB, free: 2.418 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.2346, allocations: 7.984 kB / 1.465 GB, free: 2.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.2347, allocations: 11.94 kB / 1.465 GB, free: 2.398 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.2348, allocations: 35.94 kB / 1.465 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.2354, allocations: 348.7 kB / 1.466 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.2356, allocations: 78.72 kB / 1.466 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.806e-05/0.2357, allocations: 36.78 kB / 1.466 GB, free: 1.848 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.2358, allocations: 0 / 1.466 GB, free: 1.848 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.236, allocations: 83.33 kB / 1.466 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.236, allocations: 0 / 1.466 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004321/0.2364, allocations: 149.4 kB / 1.466 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.2365, allocations: 77.11 kB / 1.466 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.2369, allocations: 259 kB / 1.466 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.2369, allocations: 33.7 kB / 1.466 GB, free: 1.207 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.237, allocations: 116 kB / 1.466 GB, free: 1.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.2371, allocations: 27.64 kB / 1.467 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-06/0.2371, allocations: 4 kB / 1.467 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2373, allocations: 326.8 kB / 1.467 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.2374, allocations: 31.98 kB / 1.467 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.2376, allocations: 59.36 kB / 1.467 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.2377, allocations: 35.98 kB / 1.467 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.2377, allocations: 384 / 1.467 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003328/0.2381, allocations: 117.4 kB / 1.467 GB, free: 484 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2381, allocations: 4 kB / 1.467 GB, free: 480 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2381, allocations: 4.062 kB / 1.467 GB, free: 476 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.2382, allocations: 7.953 kB / 1.467 GB, free: 468 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.2383, allocations: 8 kB / 1.467 GB, free: 460 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.2383, allocations: 0 / 1.467 GB, free: 460 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.2384, allocations: 7.984 kB / 1.467 GB, free: 452 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2385, allocations: 4 kB / 1.467 GB, free: 448 kB / 0.6042 GB 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.0002145/0.2387, allocations: 146.3 kB / 1.467 GB, free: 292 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.2387, allocations: 15.81 kB / 1.467 GB, free: 276 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.2388, allocations: 21.41 kB / 1.467 GB, free: 260 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.2388, allocations: 7.938 kB / 1.467 GB, free: 252 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2389, allocations: 0 / 1.467 GB, free: 252 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.547e-05/0.239, allocations: 96.86 kB / 1.467 GB, free: 136 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.239, allocations: 7.938 kB / 1.467 GB, free: 128 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.2391, allocations: 7.984 kB / 1.467 GB, free: 120 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.2392, allocations: 0 / 1.467 GB, free: 120 kB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004288/0.2396, allocations: 200.8 kB / 1.468 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004179/0.24, allocations: 290.5 kB / 1.468 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001271/0.2402, allocations: 35.98 kB / 1.468 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003117/0.2405, allocations: 196.4 kB / 1.468 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of Backend: time 8.91e-07/0.2405, allocations: 0 / 1.468 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.2423, allocations: 462.4 kB / 1.469 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001109/0.2435, allocations: 0.7641 MB / 1.469 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.008286/0.2518, allocations: 2.166 MB / 1.471 GB, free: 12.14 MB / 0.6198 GB