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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_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.0009211/0.0009212, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0009996/0.0009997, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5635/0.5635, allocations: 95.58 MB / 366 MB, free: 10.38 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006094/0.0006098, allocations: 23.91 kB / 446.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3119, allocations: 70.33 MB / 0.505 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001914/0.3139, allocations: 1.427 MB / 0.5064 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.3154, allocations: 0.8517 MB / 0.5072 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.3156, allocations: 0 / 0.5072 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006584/0.3162, allocations: 139.5 kB / 0.5073 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.3165, allocations: 103.7 kB / 0.5074 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.317, allocations: 127.6 kB / 0.5076 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.3172, allocations: 99.8 kB / 0.5077 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3173, allocations: 21.11 kB / 0.5077 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3174, allocations: 55.75 kB / 0.5077 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.694e-05/0.3175, allocations: 63.81 kB / 0.5078 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.3176, allocations: 4 kB / 0.5078 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.3177, allocations: 39.86 kB / 0.5078 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.3178, allocations: 39.89 kB / 0.5079 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.3178, allocations: 49.64 kB / 0.5079 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.318, allocations: 141.7 kB / 0.5081 GB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.318, allocations: 0 / 0.5081 GB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.318, allocations: 3.938 kB / 0.5081 GB, free: 13.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.3181, allocations: 0 / 0.5081 GB, free: 13.32 MB / 382.1 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.0007498/0.3188, allocations: 484.1 kB / 0.5085 GB, free: 12.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3189, allocations: 15.98 kB / 0.5085 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.3189, allocations: 15.81 kB / 0.5086 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.3193, allocations: 240.3 kB / 0.5088 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.3193, allocations: 8 kB / 0.5088 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.3193, allocations: 4 kB / 0.5088 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3195, allocations: 87.31 kB / 0.5089 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3195, allocations: 4 kB / 0.5089 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3196, allocations: 4 kB / 0.5089 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.3196, allocations: 4 kB / 0.5089 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/0.3197, allocations: 27.98 kB / 0.5089 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.3202, allocations: 356.6 kB / 0.5093 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.3204, allocations: 74.67 kB / 0.5093 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.3204, allocations: 0 / 0.5093 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.3206, allocations: 87.47 kB / 0.5094 GB, free: 11.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.3206, allocations: 0 / 0.5094 GB, free: 11.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003528/0.3209, allocations: 222.7 kB / 0.5096 GB, free: 11.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.321, allocations: 84.98 kB / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.3212, allocations: 269.5 kB / 0.51 GB, free: 11.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.3212, allocations: 25.7 kB / 0.51 GB, free: 11.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.3213, allocations: 116.1 kB / 0.5101 GB, free: 10.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.3213, allocations: 19.66 kB / 0.5101 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.3213, allocations: 8 kB / 0.5101 GB, free: 10.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.893e-05/0.3214, allocations: 326.8 kB / 0.5104 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.3215, allocations: 27.98 kB / 0.5105 GB, free: 10.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.768e-05/0.3215, allocations: 63.69 kB / 0.5105 GB, free: 10.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.449e-05/0.3216, allocations: 32.03 kB / 0.5105 GB, free: 10.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3216, allocations: 0 / 0.5105 GB, free: 10.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001713/0.3218, allocations: 121.4 kB / 0.5107 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3218, allocations: 4 kB / 0.5107 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3218, allocations: 0 / 0.5107 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3218, allocations: 0 / 0.5107 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.3219, allocations: 19.92 kB / 0.5107 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3219, allocations: 4.219 kB / 0.5107 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.436e-05/0.322, allocations: 7.906 kB / 0.5107 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.322, allocations: 4 kB / 0.5107 GB, free: 10.34 MB / 382.1 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.0001141/0.3221, allocations: 141.8 kB / 0.5108 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.3222, allocations: 19.8 kB / 0.5109 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.3222, allocations: 17.39 kB / 0.5109 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.3222, allocations: 4 kB / 0.5109 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3222, allocations: 0 / 0.5109 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3223, allocations: 7.984 kB / 0.5109 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.3224, allocations: 229.5 kB / 0.5111 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3224, allocations: 0 / 0.5111 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.3225, allocations: 4 kB / 0.5111 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3225, allocations: 3.938 kB / 0.5111 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3225, allocations: 0 / 0.5111 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3225, allocations: 7.938 kB / 0.5111 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3225, allocations: 0 / 0.5111 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.3227, allocations: 152.9 kB / 0.5113 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.3228, allocations: 92.86 kB / 0.5114 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.3228, allocations: 7.922 kB / 0.5114 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.3228, allocations: 8 kB / 0.5114 GB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.3229, allocations: 11.92 kB / 0.5114 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.3229, allocations: 7.984 kB / 0.5114 GB, free: 9.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.3231, allocations: 191.3 kB / 0.5116 GB, free: 9.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3231, allocations: 0 / 0.5116 GB, free: 9.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.3233, allocations: 28 kB / 0.5116 GB, free: 9.328 MB / 382.1 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.0009574/0.3243, allocations: 422.4 kB / 0.512 GB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3245, allocations: 71.91 kB / 0.5121 GB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3246, allocations: 3.938 kB / 0.5121 GB, free: 8.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.3246, allocations: 39.97 kB / 0.5121 GB, free: 8.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.3249, allocations: 39.7 kB / 0.5121 GB, free: 8.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.3253, allocations: 318.1 kB / 0.5125 GB, free: 8.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.3255, allocations: 0.7282 MB / 0.5132 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.979e-05/0.3256, allocations: 25.7 kB / 0.5132 GB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.3256, allocations: 23.44 kB / 0.5132 GB, free: 7.781 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3256, allocations: 0 / 0.5132 GB, free: 7.781 MB / 382.1 MB Notification: Performance of Templates: time 0.004958/0.3306, allocations: 2.109 MB / 0.5153 GB, free: 5.691 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: