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.01101/0.01101, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.002717/0.002717, allocations: 191.1 kB / 16.67 MB, free: 5.973 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.744/1.744, allocations: 205.1 MB / 222.5 MB, free: 4.367 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.6928/0.6928, allocations: 95.49 MB / 365.4 MB, free: 9.68 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.001472/0.001472, allocations: 75.89 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1877, allocations: 69.08 MB / 0.5711 GB, free: 8.309 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003305/0.1911, allocations: 1.763 MB / 0.5728 GB, free: 6.531 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1927, allocations: 0.9408 MB / 0.5737 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1929, allocations: 0 / 0.5737 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000665/0.1935, allocations: 159.5 kB / 0.5739 GB, free: 5.43 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000304/0.1939, allocations: 111.6 kB / 0.574 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.1943, allocations: 142.7 kB / 0.5741 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.1945, allocations: 171.6 kB / 0.5743 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1947, allocations: 21.09 kB / 0.5743 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1948, allocations: 71.7 kB / 0.5744 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.1949, allocations: 75.73 kB / 0.5744 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.195, allocations: 8 kB / 0.5744 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1951, allocations: 67.89 kB / 0.5745 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.807e-05/0.1952, allocations: 43.84 kB / 0.5745 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.42e-05/0.1953, allocations: 59.61 kB / 0.5746 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.1956, allocations: 199.3 kB / 0.5748 GB, free: 4.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1956, allocations: 0 / 0.5748 GB, free: 4.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1956, allocations: 3.984 kB / 0.5748 GB, free: 4.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1957, allocations: 0 / 0.5748 GB, free: 4.477 MB / 446.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.0007988/0.1965, allocations: 492.3 kB / 0.5753 GB, free: 3.941 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1965, allocations: 11.98 kB / 0.5753 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.1966, allocations: 20.75 kB / 0.5753 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.1969, allocations: 248.8 kB / 0.5755 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1969, allocations: 0 / 0.5755 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.1969, allocations: 11.94 kB / 0.5755 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.1971, allocations: 87.31 kB / 0.5756 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1972, allocations: 4 kB / 0.5756 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1972, allocations: 0 / 0.5756 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.1972, allocations: 0 / 0.5756 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1973, allocations: 47.92 kB / 0.5757 GB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.1979, allocations: 360.5 kB / 0.576 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.1981, allocations: 70.67 kB / 0.5761 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.28e-05/0.1982, allocations: 28.86 kB / 0.5761 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1982, allocations: 7.984 kB / 0.5761 GB, free: 2.945 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.1984, allocations: 87.31 kB / 0.5762 GB, free: 2.848 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.1984, allocations: 0 / 0.5762 GB, free: 2.848 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000419/0.1988, allocations: 145.3 kB / 0.5763 GB, free: 2.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.1989, allocations: 81.11 kB / 0.5764 GB, free: 2.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.1992, allocations: 260.3 kB / 0.5767 GB, free: 2.336 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.1992, allocations: 33.7 kB / 0.5767 GB, free: 2.297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.1993, allocations: 116 kB / 0.5768 GB, free: 2.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1993, allocations: 19.81 kB / 0.5768 GB, free: 2.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.1994, allocations: 29.7 kB / 0.5769 GB, free: 2.125 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1995, allocations: 322.8 kB / 0.5772 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.678e-05/0.1996, allocations: 27.98 kB / 0.5772 GB, free: 1.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/0.1997, allocations: 59.41 kB / 0.5773 GB, free: 1.703 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.1998, allocations: 82.03 kB / 0.5773 GB, free: 1.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1998, allocations: 0 / 0.5773 GB, free: 1.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002221/0.2001, allocations: 121.3 kB / 0.5774 GB, free: 1.492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.2001, allocations: 8.109 kB / 0.5775 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.2001, allocations: 7.875 kB / 0.5775 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2001, allocations: 0 / 0.5775 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.74e-05/0.2002, allocations: 12 kB / 0.5775 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2002, allocations: 3.984 kB / 0.5775 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/0.2003, allocations: 11.97 kB / 0.5775 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.2003, allocations: 4 kB / 0.5775 GB, free: 1.445 MB / 446.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.0001359/0.2005, allocations: 145.8 kB / 0.5776 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.2005, allocations: 15.81 kB / 0.5776 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.2005, allocations: 29.31 kB / 0.5777 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.2006, allocations: 4 kB / 0.5777 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2006, allocations: 0 / 0.5777 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2006, allocations: 0 / 0.5777 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.2008, allocations: 221.5 kB / 0.5779 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2008, allocations: 0 / 0.5779 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.2008, allocations: 4 kB / 0.5779 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2008, allocations: 0 / 0.5779 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2009, allocations: 11.92 kB / 0.5779 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2009, allocations: 0 / 0.5779 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.2009, allocations: 4 kB / 0.5779 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.2011, allocations: 144.8 kB / 0.578 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.2012, allocations: 104.8 kB / 0.5781 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.2012, allocations: 3.938 kB / 0.5782 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.2013, allocations: 8 kB / 0.5782 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.2013, allocations: 3.984 kB / 0.5782 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.2013, allocations: 4 kB / 0.5782 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.2015, allocations: 188.6 kB / 0.5783 GB, free: 476 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2016, allocations: 0 / 0.5783 GB, free: 476 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.2018, allocations: 31.98 kB / 0.5784 GB, free: 444 kB / 446.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.001106/0.2029, allocations: 430.6 kB / 0.5788 GB, free: 168 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.2032, allocations: 75.89 kB / 0.5789 GB, free: 92 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2032, allocations: 0 / 0.5789 GB, free: 92 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/0.2033, allocations: 39.92 kB / 0.5789 GB, free: 52 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.2036, allocations: 36.31 kB / 0.5789 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006759/0.2043, allocations: 291.5 kB / 0.5792 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.2048, allocations: 0.7278 MB / 0.5799 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.702e-05/0.2049, allocations: 21.41 kB / 0.5799 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.2049, allocations: 19.44 kB / 0.58 GB, free: 14.91 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2049, allocations: 0 / 0.58 GB, free: 14.91 MB / 462.1 MB Notification: Performance of Templates: time 0.007757/0.2127, allocations: 2.294 MB / 0.5822 GB, free: 12.64 MB / 462.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)