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.001023/0.001023, allocations: 104 kB / 16.36 MB, free: 5.953 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.000966/0.000966, allocations: 193.8 kB / 17.3 MB, free: 5.57 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.385/1.385, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.76/1.76, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001666/0.001666, allocations: 71.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.272, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003741/0.2758, allocations: 1.781 MB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.2774, allocations: 0.9489 MB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.2776, allocations: 3.938 kB / 0.7875 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000672/0.2783, allocations: 159.5 kB / 0.7876 GB, free: 296 kB / 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.0003522/0.2786, allocations: 115.6 kB / 0.7877 GB, free: 180 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.2791, allocations: 143.3 kB / 0.7879 GB, free: 40 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3961/0.6753, allocations: 164.2 kB / 0.788 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.6754, allocations: 19.14 kB / 0.788 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.6756, allocations: 71.94 kB / 0.7881 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.6757, allocations: 69.86 kB / 0.7882 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.6757, allocations: 12.22 kB / 0.7882 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.6759, allocations: 63.94 kB / 0.7882 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.355e-05/0.676, allocations: 44.52 kB / 0.7883 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.6761, allocations: 59.52 kB / 0.7883 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.6764, allocations: 197 kB / 0.7885 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6764, allocations: 4.469 kB / 0.7885 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6764, allocations: 0 / 0.7885 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.6764, allocations: 0 / 0.7885 GB, free: 47.16 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.0006304/0.677, allocations: 499.4 kB / 0.789 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.6771, allocations: 8.719 kB / 0.789 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.6771, allocations: 16.62 kB / 0.789 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.6773, allocations: 241.1 kB / 0.7893 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.6774, allocations: 10.94 kB / 0.7893 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.6774, allocations: 8.547 kB / 0.7893 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.6776, allocations: 92.66 kB / 0.7894 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.6776, allocations: 0 / 0.7894 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.6776, allocations: 0.8594 kB / 0.7894 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.6776, allocations: 4.391 kB / 0.7894 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.673e-05/0.6777, allocations: 39.95 kB / 0.7894 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.6781, allocations: 349.2 kB / 0.7897 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.6783, allocations: 73.8 kB / 0.7898 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.444e-05/0.6784, allocations: 40.7 kB / 0.7898 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.6784, allocations: 3.375 kB / 0.7899 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.6786, allocations: 81.59 kB / 0.7899 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.6786, allocations: 2.906 kB / 0.7899 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002885/0.6789, allocations: 144.6 kB / 0.7901 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.6789, allocations: 77.11 kB / 0.7901 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.6791, allocations: 273.7 kB / 0.7904 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.6792, allocations: 25.7 kB / 0.7904 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.6792, allocations: 117 kB / 0.7905 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.6792, allocations: 20.56 kB / 0.7906 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.6793, allocations: 30.39 kB / 0.7906 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.6793, allocations: 336.9 kB / 0.7909 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.414e-05/0.6794, allocations: 27.69 kB / 0.7909 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.052e-05/0.6795, allocations: 61.34 kB / 0.791 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.6796, allocations: 79.25 kB / 0.7911 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6796, allocations: 0 / 0.7911 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001685/0.6798, allocations: 121.9 kB / 0.7912 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6798, allocations: 5.281 kB / 0.7912 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6798, allocations: 0 / 0.7912 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.6798, allocations: 0 / 0.7912 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.6799, allocations: 13.66 kB / 0.7912 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6799, allocations: 0 / 0.7912 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.68, allocations: 11.12 kB / 0.7912 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.68, allocations: 2.625 kB / 0.7912 GB, free: 45.31 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 9.296e-05/0.6801, allocations: 148.9 kB / 0.7914 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.6801, allocations: 19.59 kB / 0.7914 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.6802, allocations: 19.61 kB / 0.7914 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.6802, allocations: 4.344 kB / 0.7914 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6802, allocations: 0 / 0.7914 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.6802, allocations: 1.312 kB / 0.7914 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.6803, allocations: 222.8 kB / 0.7916 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6803, allocations: 0 / 0.7916 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.6804, allocations: 5.812 kB / 0.7916 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6804, allocations: 2.031 kB / 0.7916 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.6804, allocations: 2.766 kB / 0.7916 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6804, allocations: 0 / 0.7916 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6804, allocations: 4.812 kB / 0.7916 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.6806, allocations: 146.9 kB / 0.7918 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.6806, allocations: 94.11 kB / 0.7919 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.6807, allocations: 12.64 kB / 0.7919 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.584e-05/0.6807, allocations: 6.562 kB / 0.7919 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.6808, allocations: 5.156 kB / 0.7919 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.6808, allocations: 4.688 kB / 0.7919 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001331/0.6809, allocations: 195.3 kB / 0.7921 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6809, allocations: 0.5 kB / 0.7921 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002201/0.6811, allocations: 38.83 kB / 0.7921 GB, free: 44.73 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.0008996/0.682, allocations: 415 kB / 0.7925 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.6823, allocations: 70.95 kB / 0.7926 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.6823, allocations: 4.062 kB / 0.7926 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.6824, allocations: 35.03 kB / 0.7926 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.6826, allocations: 45.3 kB / 0.7927 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.6831, allocations: 293.7 kB / 0.7929 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.6832, allocations: 0.7233 MB / 0.7936 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.937e-05/0.6833, allocations: 26.44 kB / 0.7937 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.6833, allocations: 15.31 kB / 0.7937 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.6833, allocations: 0 / 0.7937 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of Templates: time 0.004817/0.6881, allocations: 2.289 MB / 0.7959 GB, free: 43.65 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)