Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005073/0.005073, allocations: 102 kB / 15.73 MB, free: 5.555 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.00117/0.00117, allocations: 194.6 kB / 16.67 MB, free: 5.484 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.267/1.267, allocations: 205.1 MB / 222.6 MB, free: 4.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 251.7 MB / 0.5094 GB, free: 3.016 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 74.33 kB / 0.7258 GB, free: 9.152 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1941, allocations: 104.7 MB / 0.828 GB, free: 348 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003006/0.1972, allocations: 1.779 MB / 0.8298 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1987, allocations: 0.9449 MB / 0.8307 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1988, allocations: 0 / 0.8307 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00058/0.1994, allocations: 167.5 kB / 0.8309 GB, free: 13.43 MB / 0.6544 GB [/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.0002914/0.1997, allocations: 107.6 kB / 0.831 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.2001, allocations: 150.5 kB / 0.8311 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.2003, allocations: 167.6 kB / 0.8313 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2005, allocations: 28.86 kB / 0.8313 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.2006, allocations: 71.69 kB / 0.8314 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.2007, allocations: 63.77 kB / 0.8314 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.2007, allocations: 8 kB / 0.8314 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.2009, allocations: 63.89 kB / 0.8315 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.2009, allocations: 39.91 kB / 0.8315 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.829e-05/0.201, allocations: 67.59 kB / 0.8316 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.2013, allocations: 203.1 kB / 0.8318 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2013, allocations: 0 / 0.8318 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 6.122e-06/0.2013, allocations: 0 / 0.8318 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.2013, allocations: 0 / 0.8318 GB, free: 12.48 MB / 0.6544 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.0006541/0.202, allocations: 0.4945 MB / 0.8323 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.202, allocations: 8.031 kB / 0.8323 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.2021, allocations: 20.8 kB / 0.8323 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.2024, allocations: 245 kB / 0.8325 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2024, allocations: 8.312 kB / 0.8325 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.2024, allocations: 12.12 kB / 0.8326 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.2026, allocations: 87.38 kB / 0.8326 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2026, allocations: 0 / 0.8326 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2026, allocations: 0 / 0.8326 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.2027, allocations: 7.984 kB / 0.8326 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.46e-05/0.2028, allocations: 35.98 kB / 0.8327 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.2032, allocations: 356.6 kB / 0.833 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.2034, allocations: 78.67 kB / 0.8331 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.431e-05/0.2035, allocations: 36.78 kB / 0.8331 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.2035, allocations: 3.938 kB / 0.8331 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.2037, allocations: 83.38 kB / 0.8332 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.2037, allocations: 0 / 0.8332 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.000312/0.204, allocations: 141.5 kB / 0.8334 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.2041, allocations: 81.11 kB / 0.8334 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.2043, allocations: 262.9 kB / 0.8337 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2044, allocations: 29.69 kB / 0.8337 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.2044, allocations: 116.1 kB / 0.8338 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.2045, allocations: 27.78 kB / 0.8338 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.2045, allocations: 37.7 kB / 0.8339 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2046, allocations: 326.8 kB / 0.8342 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.164e-05/0.2047, allocations: 27.98 kB / 0.8342 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.159e-05/0.2048, allocations: 55.42 kB / 0.8343 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.2049, allocations: 77.62 kB / 0.8343 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.2049, allocations: 4.031 kB / 0.8344 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000189/0.2051, allocations: 113.9 kB / 0.8345 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2051, allocations: 8 kB / 0.8345 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2052, allocations: 7.922 kB / 0.8345 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2052, allocations: 0 / 0.8345 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.2052, allocations: 8 kB / 0.8345 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2053, allocations: 0 / 0.8345 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.2053, allocations: 15.88 kB / 0.8345 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2053, allocations: 4 kB / 0.8345 GB, free: 9.441 MB / 0.6544 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.0001205/0.2055, allocations: 149.7 kB / 0.8346 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.2055, allocations: 15.91 kB / 0.8347 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.2055, allocations: 21.52 kB / 0.8347 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.2056, allocations: 11.92 kB / 0.8347 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2056, allocations: 0 / 0.8347 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2056, allocations: 3.938 kB / 0.8347 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.2058, allocations: 221.5 kB / 0.8349 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2058, allocations: 0 / 0.8349 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.2058, allocations: 4 kB / 0.8349 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2058, allocations: 4 kB / 0.8349 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2058, allocations: 4 kB / 0.8349 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2058, allocations: 4 kB / 0.8349 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2058, allocations: 0 / 0.8349 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.2061, allocations: 148.9 kB / 0.8351 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.2061, allocations: 89.02 kB / 0.8351 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.2062, allocations: 4 kB / 0.8352 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.606e-05/0.2062, allocations: 7.984 kB / 0.8352 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.2062, allocations: 8 kB / 0.8352 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2063, allocations: 11.92 kB / 0.8352 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001674/0.2064, allocations: 188.6 kB / 0.8354 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2064, allocations: 0 / 0.8354 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002272/0.2067, allocations: 31.94 kB / 0.8354 GB, free: 8.434 MB / 0.6544 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.0009166/0.2076, allocations: 432.7 kB / 0.8358 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.2078, allocations: 75.91 kB / 0.8359 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2078, allocations: 0 / 0.8359 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.907e-05/0.2079, allocations: 39.92 kB / 0.8359 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.2082, allocations: 42.09 kB / 0.836 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.2087, allocations: 303.1 kB / 0.8362 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.209, allocations: 0.7317 MB / 0.837 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.309e-05/0.209, allocations: 21.41 kB / 0.837 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.2091, allocations: 15.44 kB / 0.837 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.2091, allocations: 0 / 0.837 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of Templates: time 0.005017/0.2141, allocations: 2.307 MB / 0.8392 GB, free: 4.621 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)