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.00156/0.00156, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.6/1.6, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.91/2.91, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 61.56 kB / 0.912 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2986, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003211/0.3019, allocations: 1.777 MB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3034, allocations: 1.021 MB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.3036, allocations: 4 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000581/0.3042, allocations: 163.5 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.3044, allocations: 119.6 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.3049, allocations: 162.3 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3051, allocations: 167.6 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.3052, allocations: 25.11 kB / 1.072 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3053, allocations: 71.69 kB / 1.072 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.852e-05/0.3054, allocations: 63.77 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.3055, allocations: 11.98 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.3056, allocations: 63.91 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.3057, allocations: 43.84 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.439e-05/0.3058, allocations: 67.59 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.306, allocations: 195.7 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.306, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3061, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3061, allocations: 0 / 1.072 GB, free: 6.438 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.0007428/0.3068, allocations: 498 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3069, allocations: 8.031 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.3069, allocations: 16.75 kB / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.3072, allocations: 256.8 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3072, allocations: 384 / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.3072, allocations: 8.125 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3074, allocations: 87.38 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3075, allocations: 3.938 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3075, allocations: 4 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.3075, allocations: 4 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/0.3076, allocations: 35.98 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.3081, allocations: 360.6 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.3083, allocations: 78.61 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.774e-05/0.3084, allocations: 36.84 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.3084, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.3086, allocations: 75.39 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.3086, allocations: 0 / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003266/0.3089, allocations: 141.4 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.309, allocations: 85.09 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.3092, allocations: 270.7 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.3093, allocations: 25.7 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.3094, allocations: 116.1 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.3094, allocations: 27.64 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.3095, allocations: 29.7 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3096, allocations: 334.8 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.3096, allocations: 27.94 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.3098, allocations: 67.34 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.3099, allocations: 73.75 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3099, allocations: 0 / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002019/0.3101, allocations: 117.7 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3101, allocations: 9.719 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3101, allocations: 0 / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.3102, allocations: 4 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.3102, allocations: 15.98 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3103, allocations: 0 / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.3103, allocations: 7.938 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3103, allocations: 4 kB / 1.075 GB, free: 3.406 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.0001224/0.3105, allocations: 150.8 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.3105, allocations: 11.81 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.3105, allocations: 21.39 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.3106, allocations: 8 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3106, allocations: 0 / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3106, allocations: 3.938 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.3108, allocations: 229.4 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3108, allocations: 4 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.3108, allocations: 11.92 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3108, allocations: 0 / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.3108, allocations: 4 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3109, allocations: 0 / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3109, allocations: 0 / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.3111, allocations: 144.9 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.3112, allocations: 96.89 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.3112, allocations: 4 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.945e-05/0.3113, allocations: 0 / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.3113, allocations: 15.92 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3113, allocations: 7.938 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001819/0.3115, allocations: 188.6 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3115, allocations: 0 / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002454/0.3118, allocations: 35.98 kB / 1.076 GB, free: 2.395 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.0009574/0.3127, allocations: 425.3 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.3129, allocations: 75.89 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.313, allocations: 0 / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/0.3131, allocations: 39.98 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.3134, allocations: 44.73 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.3138, allocations: 295.3 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.3141, allocations: 0.7278 MB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.672e-05/0.3142, allocations: 21.67 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.3142, allocations: 23.42 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3142, allocations: 0 / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of Templates: time 0.005217/0.3194, allocations: 2.283 MB / 1.079 GB, free: 14.61 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)