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.001187/0.001187, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001328/0.001328, allocations: 191 kB / 16.25 MB, free: 6.625 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.571/1.571, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.6422/0.6422, allocations: 95.47 MB / 364.9 MB, free: 10.03 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.001526/0.001526, allocations: 63.91 kB / 444.9 MB, free: 9.941 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3733, allocations: 69.07 MB / 0.5019 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003172/0.3766, allocations: 1.809 MB / 0.5036 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.3785, allocations: 0.9174 MB / 0.5045 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.3788, allocations: 0 / 0.5045 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009973/0.3798, allocations: 155.6 kB / 0.5047 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.3803, allocations: 111.7 kB / 0.5048 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.3809, allocations: 131.4 kB / 0.5049 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.3813, allocations: 175.5 kB / 0.5051 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.3814, allocations: 17.11 kB / 0.5051 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.3816, allocations: 75.69 kB / 0.5052 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3817, allocations: 71.73 kB / 0.5052 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.3818, allocations: 12 kB / 0.5053 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.382, allocations: 55.92 kB / 0.5053 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-05/0.3821, allocations: 47.83 kB / 0.5054 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.3822, allocations: 55.61 kB / 0.5054 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.3826, allocations: 197.4 kB / 0.5056 GB, free: 13.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.3827, allocations: 0 / 0.5056 GB, free: 13.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.037e-06/0.3827, allocations: 0 / 0.5056 GB, free: 13.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3827, allocations: 0 / 0.5056 GB, free: 13.72 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.001104/0.3838, allocations: 0.4886 MB / 0.5061 GB, free: 13.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.382e-05/0.3839, allocations: 15.98 kB / 0.5061 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.384, allocations: 24.69 kB / 0.5061 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.3844, allocations: 240.9 kB / 0.5063 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.3844, allocations: 4 kB / 0.5063 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3844, allocations: 4 kB / 0.5064 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.3847, allocations: 95.23 kB / 0.5064 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3847, allocations: 0 / 0.5064 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.3848, allocations: 8 kB / 0.5064 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.3848, allocations: 0 / 0.5064 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.193e-05/0.3849, allocations: 39.97 kB / 0.5065 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.3854, allocations: 348.7 kB / 0.5068 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.3855, allocations: 74.61 kB / 0.5069 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.3856, allocations: 40.84 kB / 0.5069 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3856, allocations: 0 / 0.5069 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.3858, allocations: 83.28 kB / 0.507 GB, free: 12.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.3858, allocations: 0 / 0.507 GB, free: 12.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002955/0.3861, allocations: 149.3 kB / 0.5072 GB, free: 11.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.3861, allocations: 81.11 kB / 0.5072 GB, free: 11.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.3863, allocations: 257.6 kB / 0.5075 GB, free: 11.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.3864, allocations: 33.7 kB / 0.5075 GB, free: 11.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.3864, allocations: 120.1 kB / 0.5076 GB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.3864, allocations: 27.58 kB / 0.5076 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.3865, allocations: 29.7 kB / 0.5077 GB, free: 11.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.3866, allocations: 326.8 kB / 0.508 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.3866, allocations: 31.98 kB / 0.508 GB, free: 11.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.649e-05/0.3867, allocations: 63.42 kB / 0.5081 GB, free: 10.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.3868, allocations: 77.62 kB / 0.5082 GB, free: 10.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3868, allocations: 0 / 0.5082 GB, free: 10.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001569/0.387, allocations: 105.4 kB / 0.5083 GB, free: 10.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.387, allocations: 11.98 kB / 0.5083 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.387, allocations: 112 / 0.5083 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.387, allocations: 7.875 kB / 0.5083 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.3871, allocations: 12 kB / 0.5083 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3872, allocations: 8.062 kB / 0.5083 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.3872, allocations: 7.906 kB / 0.5083 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.3872, allocations: 3.984 kB / 0.5083 GB, free: 10.69 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 ($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.0001333/0.3874, allocations: 142.2 kB / 0.5084 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.3874, allocations: 15.81 kB / 0.5085 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.52e-05/0.3875, allocations: 17.34 kB / 0.5085 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.3875, allocations: 7.984 kB / 0.5085 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3875, allocations: 3.938 kB / 0.5085 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3875, allocations: 4 kB / 0.5085 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3877, allocations: 225.5 kB / 0.5087 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.3877, allocations: 4 kB / 0.5087 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.018e-05/0.3877, allocations: 3.938 kB / 0.5087 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.3878, allocations: 7.984 kB / 0.5087 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.3878, allocations: 3.938 kB / 0.5087 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3878, allocations: 0 / 0.5087 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3878, allocations: 0 / 0.5087 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.388, allocations: 140.9 kB / 0.5089 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.3881, allocations: 100.9 kB / 0.509 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.3881, allocations: 3.938 kB / 0.509 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.3882, allocations: 7.984 kB / 0.509 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.3882, allocations: 0 / 0.509 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3883, allocations: 8 kB / 0.509 GB, free: 9.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.3884, allocations: 199.3 kB / 0.5092 GB, free: 9.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3884, allocations: 0 / 0.5092 GB, free: 9.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.3887, allocations: 32 kB / 0.5092 GB, free: 9.688 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 (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.001238/0.39, allocations: 431.3 kB / 0.5096 GB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.3902, allocations: 79.89 kB / 0.5097 GB, free: 9.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3902, allocations: 0 / 0.5097 GB, free: 9.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.903e-05/0.3903, allocations: 35.98 kB / 0.5097 GB, free: 9.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3906, allocations: 39.75 kB / 0.5097 GB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.3911, allocations: 346.9 kB / 0.5101 GB, free: 8.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.3912, allocations: 0.724 MB / 0.5108 GB, free: 8.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.579e-05/0.3913, allocations: 25.73 kB / 0.5108 GB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.3913, allocations: 15.44 kB / 0.5108 GB, free: 8.109 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3913, allocations: 0 / 0.5108 GB, free: 8.109 MB / 382.1 MB Notification: Performance of Templates: time 0.004959/0.3963, allocations: 2.25 MB / 0.513 GB, free: 5.883 MB / 382.1 MB 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)