Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001216/0.001216, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.256/1.256, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.601/1.601, allocations: 292.3 MB / 0.5488 GB, free: 12.84 MB / 462.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.00136/0.00136, allocations: 64.45 kB / 0.6715 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1991, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002724/0.2018, allocations: 1.781 MB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2031, allocations: 0.9382 MB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.2032, allocations: 0 / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004826/0.2037, allocations: 163.5 kB / 0.7862 GB, free: 10.58 MB / 0.6075 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.0002391/0.2039, allocations: 115.6 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.2043, allocations: 139.6 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.2044, allocations: 175.6 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.272e-05/0.2045, allocations: 25.06 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.2046, allocations: 67.75 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.593e-05/0.2047, allocations: 67.75 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.2048, allocations: 11.94 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.2049, allocations: 51.97 kB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.2049, allocations: 47.83 kB / 0.7868 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.311e-05/0.205, allocations: 59.61 kB / 0.7869 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.2053, allocations: 191.7 kB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2053, allocations: 4 kB / 0.7871 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2053, allocations: 7.938 kB / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2053, allocations: 0 / 0.7871 GB, free: 9.641 MB / 0.6075 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.0005612/0.2059, allocations: 494.7 kB / 0.7876 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.2059, allocations: 12.03 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.2059, allocations: 16.75 kB / 0.7876 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.2062, allocations: 240.9 kB / 0.7878 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2062, allocations: 4.375 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.2062, allocations: 16.06 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.2064, allocations: 95.36 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.2064, allocations: 3.938 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2064, allocations: 0 / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.2064, allocations: 4 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.932e-05/0.2065, allocations: 35.98 kB / 0.788 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.207, allocations: 356.5 kB / 0.7883 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.2072, allocations: 78.67 kB / 0.7884 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.811e-05/0.2072, allocations: 32.84 kB / 0.7884 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.2073, allocations: 4 kB / 0.7884 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.2074, allocations: 79.33 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.2074, allocations: 4 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.000297/0.2077, allocations: 145.4 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.2078, allocations: 81.11 kB / 0.7887 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.208, allocations: 267.4 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.208, allocations: 25.7 kB / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.2081, allocations: 120.1 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.2081, allocations: 27.64 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.2082, allocations: 25.72 kB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2083, allocations: 338.8 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.805e-05/0.2084, allocations: 20 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.2085, allocations: 63.41 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.2086, allocations: 73.64 kB / 0.7896 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2086, allocations: 0 / 0.7896 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001917/0.2088, allocations: 121.8 kB / 0.7898 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2088, allocations: 4 kB / 0.7898 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2088, allocations: 4 kB / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.2088, allocations: 0 / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.2089, allocations: 12.09 kB / 0.7898 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.2089, allocations: 3.938 kB / 0.7898 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.209, allocations: 7.938 kB / 0.7898 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.209, allocations: 4 kB / 0.7898 GB, free: 6.617 MB / 0.6075 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.0001283/0.2091, allocations: 154.4 kB / 0.7899 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.2091, allocations: 15.81 kB / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.2092, allocations: 25.39 kB / 0.79 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.2092, allocations: 0 / 0.79 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2092, allocations: 0 / 0.79 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2092, allocations: 7.938 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.2094, allocations: 221.5 kB / 0.7902 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2094, allocations: 0 / 0.7902 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.2094, allocations: 7.984 kB / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2094, allocations: 0 / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2095, allocations: 8 kB / 0.7902 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2095, allocations: 0 / 0.7902 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2095, allocations: 4 kB / 0.7902 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.2097, allocations: 144.8 kB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.2097, allocations: 92.91 kB / 0.7904 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.2098, allocations: 0 / 0.7904 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.661e-05/0.2098, allocations: 8 kB / 0.7904 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.2099, allocations: 11.98 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.2099, allocations: 7.938 kB / 0.7905 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001637/0.2101, allocations: 188.6 kB / 0.7906 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2101, allocations: 0 / 0.7906 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002295/0.2103, allocations: 35.98 kB / 0.7907 GB, free: 5.605 MB / 0.6075 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.0008495/0.2111, allocations: 430.7 kB / 0.7911 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.2113, allocations: 79.91 kB / 0.7912 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2114, allocations: 0 / 0.7912 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.039e-05/0.2114, allocations: 35.94 kB / 0.7912 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.2117, allocations: 41.55 kB / 0.7912 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.2122, allocations: 307 kB / 0.7915 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.2124, allocations: 0.724 MB / 0.7922 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.235e-05/0.2125, allocations: 25.36 kB / 0.7923 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.2125, allocations: 19.42 kB / 0.7923 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2125, allocations: 0 / 0.7923 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of Templates: time 0.004771/0.2173, allocations: 2.271 MB / 0.7945 GB, free: 1.816 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)