Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001373/0.001373, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001361/0.001361, allocations: 198.2 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 61.48 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3162, allocations: 159.9 MB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003011/0.3193, allocations: 1.856 MB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.3208, allocations: 1.013 MB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.3209, allocations: 0 / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.3215, allocations: 155.7 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.3218, allocations: 107.7 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.3222, allocations: 155.2 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.3224, allocations: 159.6 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3225, allocations: 25.09 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.526e-05/0.3226, allocations: 59.78 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.3227, allocations: 71.67 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.3227, allocations: 7.938 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.3229, allocations: 39.98 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.475e-05/0.323, allocations: 39.89 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.846e-05/0.323, allocations: 55.61 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.3233, allocations: 191.6 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3233, allocations: 4 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3233, allocations: 0 / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3233, allocations: 0 / 1.071 GB, free: 7.004 MB / 0.8262 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.0006511/0.324, allocations: 0.4886 MB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.324, allocations: 12.03 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.3241, allocations: 16.75 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.3243, allocations: 244.8 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.3244, allocations: 12.31 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.3244, allocations: 8.125 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.3246, allocations: 83.38 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.3246, allocations: 4 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3246, allocations: 4 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.3247, allocations: 4 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.847e-05/0.3248, allocations: 35.97 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.3252, allocations: 348.6 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.3254, allocations: 74.67 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.067e-05/0.3255, allocations: 32.84 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.3255, allocations: 11.94 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.3257, allocations: 75.38 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 2.946e-06/0.3257, allocations: 7.922 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003328/0.3261, allocations: 149.4 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.3261, allocations: 81.11 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.3264, allocations: 266.7 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.3264, allocations: 29.7 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/0.3265, allocations: 116.1 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.3265, allocations: 23.64 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.3266, allocations: 29.7 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3267, allocations: 334.8 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.3268, allocations: 23.98 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.3e-05/0.3269, allocations: 59.42 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.327, allocations: 73.69 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.327, allocations: 7.984 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001941/0.3272, allocations: 109.4 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3272, allocations: 4 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3272, allocations: 12.05 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3273, allocations: 4 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.3273, allocations: 8.375 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3274, allocations: 0 / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/0.3274, allocations: 11.94 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.3274, allocations: 4 kB / 1.074 GB, free: 3.977 MB / 0.8262 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 0.0001225/0.3276, allocations: 157.6 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.3276, allocations: 15.81 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.3277, allocations: 21.41 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.3277, allocations: 0 / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3277, allocations: 7.984 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3277, allocations: 3.938 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.3279, allocations: 221.4 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3279, allocations: 0 / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.3279, allocations: 8 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3279, allocations: 0 / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.3279, allocations: 0 / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3279, allocations: 4 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.328, allocations: 0 / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.3282, allocations: 148.8 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.3283, allocations: 88.92 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.3283, allocations: 8 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.3284, allocations: 3.984 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.3284, allocations: 4 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.3284, allocations: 7.938 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001737/0.3286, allocations: 195.2 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3286, allocations: 4 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000242/0.3288, allocations: 32 kB / 1.075 GB, free: 2.969 MB / 0.8262 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.0009454/0.3298, allocations: 424.7 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.33, allocations: 71.91 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.33, allocations: 0 / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.3301, allocations: 39.92 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.3304, allocations: 44.61 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.3309, allocations: 328.8 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.3312, allocations: 0.7204 MB / 1.076 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.217e-05/0.3313, allocations: 29.69 kB / 1.077 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.3313, allocations: 15.44 kB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3313, allocations: 4 kB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of Templates: time 0.004952/0.3363, allocations: 2.186 MB / 1.079 GB, free: 15.25 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)