Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001487/0.001487, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00182/0.00182, allocations: 196.8 kB / 16.14 MB, free: 6.695 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 472.6 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002258, allocations: 69.7 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3553, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003005/0.3583, allocations: 1.847 MB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.36, allocations: 1.01 MB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.3601, allocations: 7.938 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006089/0.3607, allocations: 155.7 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.361, allocations: 99.69 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.3614, allocations: 151.4 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.3616, allocations: 163.6 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3617, allocations: 21.12 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3618, allocations: 71.62 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.3619, allocations: 59.77 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.3619, allocations: 4 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.3621, allocations: 51.89 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.3621, allocations: 35.91 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.991e-05/0.3622, allocations: 59.61 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.3625, allocations: 191.7 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3625, allocations: 4 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3625, allocations: 0 / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3625, allocations: 0 / 1.071 GB, free: 6.938 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.0007223/0.3632, allocations: 0.4885 MB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3633, allocations: 8.031 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.3633, allocations: 20.73 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.3636, allocations: 244.9 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3636, allocations: 384 / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3637, allocations: 12.12 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.3639, allocations: 91.31 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3639, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3639, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.3639, allocations: 7.984 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.364, allocations: 35.98 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.3645, allocations: 360.6 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.3647, allocations: 74.67 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.1e-05/0.3648, allocations: 36.78 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.3648, allocations: 0 / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.365, allocations: 83.31 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.365, allocations: 4 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003439/0.3654, allocations: 145.5 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.3654, allocations: 85.05 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.3657, allocations: 262.7 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3657, allocations: 29.7 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.3658, allocations: 112.1 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.3658, allocations: 31.73 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.3659, allocations: 33.66 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.366, allocations: 334.8 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.3661, allocations: 24 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.001e-05/0.3662, allocations: 63.34 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.3663, allocations: 73.64 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3663, allocations: 0 / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000198/0.3665, allocations: 117.8 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3666, allocations: 11.94 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3666, allocations: 0 / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.3666, allocations: 0 / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.3667, allocations: 15.98 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3667, allocations: 4 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.3667, allocations: 3.938 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3668, allocations: 8 kB / 1.074 GB, free: 3.898 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.0001386/0.3669, allocations: 145.8 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.3669, allocations: 11.81 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.367, allocations: 25.39 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.367, allocations: 7.938 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.367, allocations: 0 / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.367, allocations: 3.938 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.3672, allocations: 221.4 kB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3672, allocations: 0 / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.3673, allocations: 7.984 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3673, allocations: 0 / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3673, allocations: 11.98 kB / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3673, allocations: 0 / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3673, allocations: 0 / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.3675, allocations: 148.8 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.3676, allocations: 88.92 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.3676, allocations: 7.938 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.3677, allocations: 4 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.3677, allocations: 11.98 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3677, allocations: 7.938 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000177/0.3679, allocations: 191.2 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3679, allocations: 0 / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002403/0.3682, allocations: 32 kB / 1.075 GB, free: 2.895 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.00101/0.3692, allocations: 423.8 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.3694, allocations: 75.91 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3694, allocations: 0 / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.47e-05/0.3695, allocations: 32 kB / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.3698, allocations: 35.91 kB / 1.075 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.3704, allocations: 336.7 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.3706, allocations: 0.7204 MB / 1.076 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.611e-05/0.3707, allocations: 25.72 kB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.3708, allocations: 19.42 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3708, allocations: 0 / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of Templates: time 0.005143/0.3759, allocations: 2.194 MB / 1.079 GB, free: 15.17 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)