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.000794/0.0007943, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008364/0.0008365, allocations: 168.7 kB / 15.95 MB, free: 204 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.981/1.981, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.72/0.72, allocations: 95.63 MB / 366 MB, free: 10.32 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.0005356/0.0005356, allocations: 20 kB / 446.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4974, allocations: 70.33 MB / 0.5051 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002049/0.4995, allocations: 1.44 MB / 0.5065 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.5008, allocations: 0.8595 MB / 0.5073 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.353e-05/0.5009, allocations: 3.938 kB / 0.5073 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.5014, allocations: 155.6 kB / 0.5075 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.5017, allocations: 91.77 kB / 0.5075 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.502, allocations: 127.7 kB / 0.5077 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.5022, allocations: 143.6 kB / 0.5078 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.5023, allocations: 25.06 kB / 0.5078 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.168e-05/0.5024, allocations: 55.77 kB / 0.5079 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.337e-05/0.5025, allocations: 63.75 kB / 0.5079 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.5025, allocations: 4 kB / 0.5079 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.5026, allocations: 55.84 kB / 0.508 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.5027, allocations: 39.89 kB / 0.508 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.5028, allocations: 45.58 kB / 0.5081 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.5029, allocations: 149.6 kB / 0.5082 GB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.503, allocations: 8 kB / 0.5082 GB, free: 13.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.503, allocations: 0 / 0.5082 GB, free: 13.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.503, allocations: 0 / 0.5082 GB, free: 13.19 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.0006971/0.5037, allocations: 472.2 kB / 0.5087 GB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.5037, allocations: 11.98 kB / 0.5087 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.5038, allocations: 15.81 kB / 0.5087 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.5041, allocations: 248.3 kB / 0.5089 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.5041, allocations: 3.938 kB / 0.509 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.5041, allocations: 4 kB / 0.509 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.5043, allocations: 87.38 kB / 0.509 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5043, allocations: 4 kB / 0.509 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.5043, allocations: 4 kB / 0.509 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.5044, allocations: 0 / 0.509 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.498e-05/0.5045, allocations: 31.98 kB / 0.5091 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.505, allocations: 360.6 kB / 0.5094 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.5052, allocations: 74.67 kB / 0.5095 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.039e-05/0.5053, allocations: 32.86 kB / 0.5095 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.5053, allocations: 3.938 kB / 0.5095 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.5055, allocations: 83.38 kB / 0.5096 GB, free: 11.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.5055, allocations: 0 / 0.5096 GB, free: 11.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003397/0.5058, allocations: 141.4 kB / 0.5097 GB, free: 11.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.5059, allocations: 77.11 kB / 0.5098 GB, free: 11.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.5061, allocations: 273.5 kB / 0.5101 GB, free: 11.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.5062, allocations: 25.98 kB / 0.5101 GB, free: 11.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.5063, allocations: 116.1 kB / 0.5102 GB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.5063, allocations: 23.66 kB / 0.5102 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.5063, allocations: 3.938 kB / 0.5102 GB, free: 10.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.5064, allocations: 334.8 kB / 0.5106 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-05/0.5065, allocations: 31.98 kB / 0.5106 GB, free: 10.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/0.5065, allocations: 55.41 kB / 0.5106 GB, free: 10.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.732e-05/0.5066, allocations: 39.92 kB / 0.5107 GB, free: 10.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5066, allocations: 0 / 0.5107 GB, free: 10.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001702/0.5068, allocations: 121.5 kB / 0.5108 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.5068, allocations: 4 kB / 0.5108 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5068, allocations: 8.062 kB / 0.5108 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.5069, allocations: 0 / 0.5108 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.507, allocations: 8 kB / 0.5108 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.507, allocations: 0 / 0.5108 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.531e-05/0.507, allocations: 15.89 kB / 0.5108 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.507, allocations: 3.953 kB / 0.5108 GB, free: 10.28 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.0001205/0.5072, allocations: 141.8 kB / 0.511 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.5072, allocations: 11.81 kB / 0.511 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.5073, allocations: 29.33 kB / 0.511 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.5073, allocations: 4 kB / 0.511 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.5073, allocations: 0 / 0.511 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5073, allocations: 0 / 0.511 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.5075, allocations: 225.5 kB / 0.5112 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5075, allocations: 0 / 0.5112 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.5075, allocations: 4 kB / 0.5112 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5075, allocations: 0 / 0.5112 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.5076, allocations: 4 kB / 0.5112 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5076, allocations: 0 / 0.5112 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5076, allocations: 3.984 kB / 0.5112 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.5078, allocations: 156.8 kB / 0.5114 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.5078, allocations: 96.84 kB / 0.5115 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.5079, allocations: 8 kB / 0.5115 GB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.614e-05/0.5079, allocations: 4 kB / 0.5115 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.508, allocations: 3.984 kB / 0.5115 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.508, allocations: 4 kB / 0.5115 GB, free: 9.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.5081, allocations: 199.3 kB / 0.5117 GB, free: 9.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5081, allocations: 0 / 0.5117 GB, free: 9.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.5084, allocations: 31.98 kB / 0.5117 GB, free: 9.273 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.0009369/0.5093, allocations: 425.3 kB / 0.5121 GB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.5095, allocations: 67.91 kB / 0.5122 GB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5096, allocations: 0 / 0.5122 GB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.5096, allocations: 44.19 kB / 0.5122 GB, free: 8.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.5099, allocations: 43.7 kB / 0.5123 GB, free: 8.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.5104, allocations: 322 kB / 0.5126 GB, free: 8.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.5106, allocations: 0.7243 MB / 0.5133 GB, free: 7.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.499e-05/0.5107, allocations: 17.42 kB / 0.5133 GB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.5108, allocations: 19.44 kB / 0.5133 GB, free: 7.734 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5108, allocations: 0 / 0.5133 GB, free: 7.734 MB / 382.1 MB Notification: Performance of Templates: time 0.00495/0.5157, allocations: 2.122 MB / 0.5154 GB, free: 5.633 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: