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.0008626/0.0008626, allocations: 91.45 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.006437/0.006437, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.438/1.438, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.711/1.711, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004944/0.0004943, allocations: 16.25 kB / 0.6743 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2007, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001842/0.2025, allocations: 1.49 MB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2038, allocations: 0.9102 MB / 0.7902 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.2039, allocations: 4 kB / 0.7902 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004937/0.2044, allocations: 162.6 kB / 0.7904 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.2047, allocations: 99.75 kB / 0.7905 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.205, allocations: 135.3 kB / 0.7906 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.2052, allocations: 163.6 kB / 0.7908 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2053, allocations: 25.09 kB / 0.7908 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.804e-05/0.2054, allocations: 59.66 kB / 0.7908 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.798e-05/0.2055, allocations: 63.73 kB / 0.7909 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.2056, allocations: 4 kB / 0.7909 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.2057, allocations: 51.92 kB / 0.791 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.2057, allocations: 39.83 kB / 0.791 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.189e-05/0.2058, allocations: 81.31 kB / 0.7911 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.206, allocations: 183.7 kB / 0.7912 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2061, allocations: 7.938 kB / 0.7912 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2061, allocations: 0 / 0.7912 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2061, allocations: 0 / 0.7912 GB, free: 8.109 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.0006731/0.2068, allocations: 472.5 kB / 0.7917 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2068, allocations: 8.031 kB / 0.7917 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.2068, allocations: 20.66 kB / 0.7917 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.2071, allocations: 244.9 kB / 0.792 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.2072, allocations: 8.375 kB / 0.792 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.2072, allocations: 8.125 kB / 0.792 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.2074, allocations: 91.3 kB / 0.7921 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2074, allocations: 0 / 0.7921 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2074, allocations: 4 kB / 0.7921 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.2074, allocations: 7.938 kB / 0.7921 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.966e-05/0.2075, allocations: 39.91 kB / 0.7921 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.208, allocations: 364.6 kB / 0.7925 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.2082, allocations: 66.69 kB / 0.7925 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.762e-05/0.2082, allocations: 36.84 kB / 0.7926 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.2083, allocations: 0 / 0.7926 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.2085, allocations: 87.31 kB / 0.7926 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.2085, allocations: 0 / 0.7926 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003069/0.2088, allocations: 141.4 kB / 0.7928 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.2088, allocations: 81.11 kB / 0.7929 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.2091, allocations: 267.4 kB / 0.7931 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2092, allocations: 29.7 kB / 0.7931 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.2093, allocations: 116.1 kB / 0.7932 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.2093, allocations: 27.66 kB / 0.7933 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.2094, allocations: 21.7 kB / 0.7933 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2095, allocations: 330.8 kB / 0.7936 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/0.2096, allocations: 27.98 kB / 0.7936 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-05/0.2097, allocations: 55.42 kB / 0.7937 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.2098, allocations: 81.66 kB / 0.7938 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2098, allocations: 384 / 0.7938 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000195/0.21, allocations: 117.4 kB / 0.7939 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.21, allocations: 10.81 kB / 0.7939 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2101, allocations: 0 / 0.7939 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.2101, allocations: 0 / 0.7939 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.2101, allocations: 8 kB / 0.7939 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2102, allocations: 4 kB / 0.7939 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.2102, allocations: 15.94 kB / 0.7939 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.2102, allocations: 3.969 kB / 0.7939 GB, free: 5.105 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.0001276/0.2104, allocations: 154.4 kB / 0.7941 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.2104, allocations: 15.81 kB / 0.7941 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.2105, allocations: 17.39 kB / 0.7941 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.2105, allocations: 4 kB / 0.7941 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2105, allocations: 0 / 0.7941 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2105, allocations: 3.938 kB / 0.7941 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.2107, allocations: 221.6 kB / 0.7943 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2107, allocations: 4 kB / 0.7943 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.2107, allocations: 4 kB / 0.7943 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.2108, allocations: 4 kB / 0.7943 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.2108, allocations: 0 / 0.7943 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2108, allocations: 0 / 0.7943 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.2108, allocations: 0 / 0.7943 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.211, allocations: 152.8 kB / 0.7945 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.2111, allocations: 96.91 kB / 0.7946 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.2111, allocations: 0 / 0.7946 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.252e-05/0.2112, allocations: 12 kB / 0.7946 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.2112, allocations: 11.98 kB / 0.7946 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.2113, allocations: 3.938 kB / 0.7946 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001825/0.2114, allocations: 192.6 kB / 0.7948 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2114, allocations: 0 / 0.7948 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002431/0.2117, allocations: 31.98 kB / 0.7948 GB, free: 4.098 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.0009705/0.2127, allocations: 426.4 kB / 0.7952 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.2129, allocations: 71.89 kB / 0.7953 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2129, allocations: 0 / 0.7953 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.133e-05/0.213, allocations: 43.92 kB / 0.7953 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.2133, allocations: 38.77 kB / 0.7954 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.2138, allocations: 334.2 kB / 0.7957 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.2142, allocations: 0.7282 MB / 0.7964 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.285e-05/0.2143, allocations: 25.73 kB / 0.7964 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.2144, allocations: 15.44 kB / 0.7964 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.2144, allocations: 3.938 kB / 0.7964 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.005024/0.2194, allocations: 2.162 MB / 0.7985 GB, free: 404 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: