Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 101.9 kB / 16.27 MB, free: 5.898 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.001261/0.001261, allocations: 185.1 kB / 17.2 MB, free: 5.539 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.515/1.515, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.05/2.05, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001679/0.001679, allocations: 63.91 kB / 0.6722 GB, free: 6.598 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2177, allocations: 114.6 MB / 0.784 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003489/0.2213, allocations: 1.785 MB / 0.7858 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.2229, allocations: 0.9528 MB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.2231, allocations: 3.938 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.2237, allocations: 155.6 kB / 0.7868 GB, free: 1.012 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.2241, allocations: 119.5 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.2245, allocations: 133.9 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.2248, allocations: 171.6 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2249, allocations: 17.11 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.225, allocations: 71.75 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.2252, allocations: 75.69 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.2252, allocations: 8 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.2254, allocations: 59.97 kB / 0.7875 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.316e-05/0.2254, allocations: 39.84 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.311e-05/0.2255, allocations: 67.53 kB / 0.7876 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.2258, allocations: 187.7 kB / 0.7878 GB, free: 84 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2259, allocations: 0 / 0.7878 GB, free: 84 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2259, allocations: 0 / 0.7878 GB, free: 84 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2259, allocations: 4 kB / 0.7878 GB, free: 80 kB / 0.6544 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.3372/0.5631, allocations: 491.7 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.5631, allocations: 10.5 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.5632, allocations: 14.09 kB / 0.7882 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.5634, allocations: 253.1 kB / 0.7885 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.5635, allocations: 6.344 kB / 0.7885 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.5635, allocations: 11.3 kB / 0.7885 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.5637, allocations: 86.8 kB / 0.7886 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.5637, allocations: 6.938 kB / 0.7886 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.5637, allocations: 6.219 kB / 0.7886 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.5637, allocations: 6.406 kB / 0.7886 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.768e-05/0.5638, allocations: 30 kB / 0.7886 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.5643, allocations: 348.9 kB / 0.789 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.5645, allocations: 77.61 kB / 0.789 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.5645, allocations: 35.39 kB / 0.7891 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.5646, allocations: 6.297 kB / 0.7891 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.5647, allocations: 80.75 kB / 0.7892 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.5647, allocations: 1.062 kB / 0.7892 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002881/0.565, allocations: 149.6 kB / 0.7893 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.5651, allocations: 80.48 kB / 0.7894 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.5653, allocations: 271 kB / 0.7896 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.5653, allocations: 28.95 kB / 0.7897 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.5653, allocations: 118.8 kB / 0.7898 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.5654, allocations: 18.2 kB / 0.7898 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.5654, allocations: 28.84 kB / 0.7898 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.5655, allocations: 331.5 kB / 0.7901 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.5655, allocations: 24.89 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-05/0.5656, allocations: 62.97 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.5657, allocations: 79.28 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5657, allocations: 1.641 kB / 0.7903 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001709/0.5659, allocations: 113.8 kB / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5659, allocations: 7.219 kB / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5659, allocations: 0 / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.566, allocations: 2.625 kB / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.566, allocations: 12.77 kB / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5661, allocations: 0 / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.594e-05/0.5661, allocations: 14.89 kB / 0.7904 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.5661, allocations: 4.219 kB / 0.7904 GB, free: 47.28 MB / 0.6544 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 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.351e-05/0.5662, allocations: 148.7 kB / 0.7906 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.5663, allocations: 18.88 kB / 0.7906 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.5663, allocations: 23.95 kB / 0.7906 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.5663, allocations: 2.625 kB / 0.7906 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5663, allocations: 0 / 0.7906 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5663, allocations: 0 / 0.7906 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.5665, allocations: 226.6 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.5665, allocations: 0 / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.5665, allocations: 2.812 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5665, allocations: 3.719 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.5665, allocations: 7.172 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5665, allocations: 0 / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5665, allocations: 0 / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.5667, allocations: 147.6 kB / 0.791 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.5668, allocations: 93.89 kB / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.5668, allocations: 5.422 kB / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.5669, allocations: 8.516 kB / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.5669, allocations: 2.625 kB / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.5669, allocations: 7.281 kB / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001377/0.5671, allocations: 192.4 kB / 0.7913 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5671, allocations: 0 / 0.7913 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002436/0.5673, allocations: 35.28 kB / 0.7913 GB, free: 46.71 MB / 0.6544 GB 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 (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.0009422/0.5683, allocations: 429.5 kB / 0.7917 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.5685, allocations: 78.81 kB / 0.7918 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5685, allocations: 0 / 0.7918 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.359e-05/0.5686, allocations: 36.14 kB / 0.7919 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.5689, allocations: 44.55 kB / 0.7919 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.5693, allocations: 324.7 kB / 0.7922 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.5695, allocations: 0.7268 MB / 0.7929 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.5695, allocations: 15.31 kB / 0.7929 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.5695, allocations: 0 / 0.7929 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.003728/0.5733, allocations: 2.555 MB / 0.7954 GB, free: 45.57 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)