Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00092/0.0009202, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005677/0.005677, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 278.2 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9133/0.9133, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004325, allocations: 20.62 kB / 0.5987 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1913, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002512/0.1938, allocations: 1.486 MB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1954, allocations: 0.9843 MB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.1955, allocations: 4.469 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.1961, allocations: 158.1 kB / 0.6877 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.1963, allocations: 95.7 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.1968, allocations: 157.3 kB / 0.6879 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.197, allocations: 167.5 kB / 0.6881 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1971, allocations: 22.25 kB / 0.6881 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1973, allocations: 69.97 kB / 0.6882 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1974, allocations: 55.77 kB / 0.6882 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1974, allocations: 4 kB / 0.6882 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.1975, allocations: 55.91 kB / 0.6883 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.1976, allocations: 35.84 kB / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.1977, allocations: 81.31 kB / 0.6884 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.1979, allocations: 188.1 kB / 0.6886 GB, free: 11.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1979, allocations: 0.6562 kB / 0.6886 GB, free: 11.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1979, allocations: 0 / 0.6886 GB, free: 11.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.198, allocations: 7.656 kB / 0.6886 GB, free: 11.52 MB / 494.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.0006705/0.1986, allocations: 469.7 kB / 0.689 GB, free: 11.01 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1987, allocations: 12.03 kB / 0.689 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.1987, allocations: 28.69 kB / 0.6891 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.1991, allocations: 249.4 kB / 0.6893 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1991, allocations: 8.375 kB / 0.6893 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.1991, allocations: 8.125 kB / 0.6893 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1993, allocations: 92.53 kB / 0.6894 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.1993, allocations: 4.547 kB / 0.6894 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1994, allocations: 4.719 kB / 0.6894 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.1994, allocations: 4 kB / 0.6894 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.584e-05/0.1995, allocations: 32.61 kB / 0.6895 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.2, allocations: 350.7 kB / 0.6898 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.2002, allocations: 78.61 kB / 0.6899 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.945e-05/0.2003, allocations: 36.84 kB / 0.6899 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.2003, allocations: 3.984 kB / 0.6899 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.2005, allocations: 79.33 kB / 0.69 GB, free: 9.918 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.2005, allocations: 0 / 0.69 GB, free: 9.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003309/0.2009, allocations: 141.5 kB / 0.6901 GB, free: 9.773 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.2009, allocations: 85.09 kB / 0.6902 GB, free: 9.672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.2012, allocations: 266.8 kB / 0.6905 GB, free: 9.402 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.2012, allocations: 25.7 kB / 0.6905 GB, free: 9.371 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.245e-05/0.2013, allocations: 116.1 kB / 0.6906 GB, free: 9.254 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.2014, allocations: 23.66 kB / 0.6906 GB, free: 9.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.2014, allocations: 17.7 kB / 0.6906 GB, free: 9.207 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2015, allocations: 334.8 kB / 0.6909 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.434e-05/0.2016, allocations: 27.98 kB / 0.691 GB, free: 8.844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.963e-05/0.2017, allocations: 63.41 kB / 0.691 GB, free: 8.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.2018, allocations: 77.95 kB / 0.6911 GB, free: 8.688 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2018, allocations: 0 / 0.6911 GB, free: 8.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002106/0.2021, allocations: 117.4 kB / 0.6912 GB, free: 8.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2021, allocations: 4.109 kB / 0.6912 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2021, allocations: 12 kB / 0.6912 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2021, allocations: 0 / 0.6912 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.2022, allocations: 8 kB / 0.6912 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2022, allocations: 0 / 0.6912 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.2023, allocations: 23.77 kB / 0.6913 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.2023, allocations: 0 / 0.6913 GB, free: 8.52 MB / 494.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.0001206/0.2024, allocations: 142.5 kB / 0.6914 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.2025, allocations: 11.81 kB / 0.6914 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.2025, allocations: 25.39 kB / 0.6914 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.2025, allocations: 4 kB / 0.6914 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.2025, allocations: 0 / 0.6914 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2025, allocations: 3.938 kB / 0.6914 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.2027, allocations: 221.5 kB / 0.6917 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2027, allocations: 0 / 0.6917 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.2028, allocations: 4 kB / 0.6917 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2028, allocations: 0 / 0.6917 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2028, allocations: 7.984 kB / 0.6917 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2028, allocations: 0 / 0.6917 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2028, allocations: 8 kB / 0.6917 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.203, allocations: 148.8 kB / 0.6918 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.2031, allocations: 100.8 kB / 0.6919 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.2031, allocations: 4 kB / 0.6919 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.2032, allocations: 4 kB / 0.6919 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.2032, allocations: 7.984 kB / 0.6919 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.2033, allocations: 3.938 kB / 0.6919 GB, free: 7.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.2034, allocations: 196.6 kB / 0.6921 GB, free: 7.547 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2034, allocations: 0 / 0.6921 GB, free: 7.547 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.2037, allocations: 27.98 kB / 0.6921 GB, free: 7.52 MB / 494.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.0009502/0.2046, allocations: 420 kB / 0.6925 GB, free: 7.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.2049, allocations: 79.83 kB / 0.6926 GB, free: 7.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2049, allocations: 0 / 0.6926 GB, free: 7.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.596e-05/0.205, allocations: 48.19 kB / 0.6927 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.2053, allocations: 34.94 kB / 0.6927 GB, free: 7.102 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.2058, allocations: 334.1 kB / 0.693 GB, free: 6.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.2062, allocations: 0.7281 MB / 0.6937 GB, free: 6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.621e-05/0.2062, allocations: 17.42 kB / 0.6937 GB, free: 5.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.2063, allocations: 23.44 kB / 0.6938 GB, free: 5.961 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2063, allocations: 0 / 0.6938 GB, free: 5.961 MB / 494.1 MB Notification: Performance of Templates: time 0.00507/0.2114, allocations: 2.169 MB / 0.6959 GB, free: 3.824 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)